This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Clarify the documentation regarding the return value from C<push>.
authorSteve Peters <steve@fisharerojo.org>
Sun, 2 Oct 2005 04:42:46 +0000 (04:42 +0000)
committerSteve Peters <steve@fisharerojo.org>
Sun, 2 Oct 2005 04:42:46 +0000 (04:42 +0000)
p4raw-id: //depot/perl@25678

pod/perlfunc.pod

index 5f7fd73..b5a98b6 100644 (file)
@@ -4027,7 +4027,8 @@ LIST.  Has the same effect as
        $ARRAY[++$#ARRAY] = $value;
     }
 
-but is more efficient.  Returns the new number of elements in the array.
+but is more efficient.  Returns the number of elements in the array following
+the completed C<push>.
 
 =item q/STRING/