summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod')
-rw-r--r--pod/perlobj.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod
index 21073a795a..fa826415c8 100644
--- a/pod/perlobj.pod
+++ b/pod/perlobj.pod
@@ -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: