From: Ian Goodacre Date: Sat, 23 Oct 2010 00:38:52 +0000 (+1300) Subject: Added missing variable name in example code X-Git-Tag: v5.13.7~532 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/5ad172142bcdae876148c9d21f887d2361cf2083 Added missing variable name in example code --- diff --git a/pod/perltrap.pod b/pod/perltrap.pod index 3123436..877dc08 100644 --- a/pod/perltrap.pod +++ b/pod/perltrap.pod @@ -665,7 +665,7 @@ are to used around the name. # perl4 prints: 2 # perl5 fails with syntax error - @ = (1..3); + @a = (1..3); print "$#{a}"; # perl4 prints: {a}