This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[ID 19990816.006] small patch to perlobj.pod from 5.005_03
authorRandal L. Schwartz <merlyn@stonehenge.com>
Mon, 16 Aug 1999 14:24:28 +0000 (07:24 -0700)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 17 Aug 1999 07:20:23 +0000 (07:20 +0000)
To: perl5-porters@perl.org
Message-Id: <m1ogg7to4z.fsf@halfdome.holdit.com>

p4raw-id: //depot/cfgperl@4000

pod/perlobj.pod

index 21073a7..fa82641 100644 (file)
@@ -339,7 +339,7 @@ confusing precedence problems, as in these next two lines:
 Those actually parse as the very surprising:
 
     $obj->move->{FIELD};                # Well, lookee here
-    $ary->move->[$i];                   # Didn't expect this one, eh?
+    $ary->move([$i]);                   # Didn't expect this one, eh?
 
 Rather than what you might have expected: