Author: pmurias Date: 2009-10-10 17:23:10 +0200 (Sat, 10 Oct 2009) New Revision: 28723
Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod Log: [S32] Array.shift and Array.pop return a failure if the @array is empty Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod =================================================================== --- docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-10-10 14:44:51 UTC (rev 28722) +++ docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-10-10 15:23:10 UTC (rev 28723) @@ -482,6 +482,7 @@ our Scalar multi method pop ( @array: ) is export Remove the last element of C<@array> and return it. +If C<@array> is empty returns a failure. =item push @@ -526,6 +527,7 @@ our Scalar multi method shift ( @array: ) is export Remove the first element from C<@array> and return it. +If C<@array> is empty returns a failure. =item splice