This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove wrong equivalent to pop() (bug #43705)
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 11 Jul 2007 07:40:17 +0000 (07:40 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 11 Jul 2007 07:40:17 +0000 (07:40 +0000)
p4raw-id: //depot/perl@31584

pod/perlfunc.pod

index 9cf780a..c3df291 100644 (file)
@@ -4056,9 +4056,7 @@ X<pop> X<stack>
 =item pop
 
 Pops and returns the last value of the array, shortening the array by
-one element.  Has an effect similar to
-
-    $ARRAY[$#ARRAY--]
+one element.
 
 If there are no elements in the array, returns the undefined value
 (although this may happen at other times as well).  If ARRAY is