From 5ad172142bcdae876148c9d21f887d2361cf2083 Mon Sep 17 00:00:00 2001 From: Ian Goodacre Date: Sat, 23 Oct 2010 13:38:52 +1300 Subject: Added missing variable name in example code --- pod/perltrap.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pod/perltrap.pod') diff --git a/pod/perltrap.pod b/pod/perltrap.pod index 31234369c0..877dc08446 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} -- cgit v1.2.1