[ID 19990816.006] small patch to perlobj.pod from 5.005_03
Randal L. Schwartz [Mon, 16 Aug 1999 14:24:28 +0000 (07:24 -0700)]
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: