This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a46fe9
)
Added missing variable name in example code
author
Ian Goodacre
<Ian.Goodacre@xtra.co.nz>
Sat, 23 Oct 2010 00:38:52 +0000
(13:38 +1300)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 23 Oct 2010 06:17:51 +0000
(23:17 -0700)
pod/perltrap.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perltrap.pod
b/pod/perltrap.pod
index
3123436
..
877dc08
100644
(file)
--- 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}