I just noticed that while @ENV is reserved special, @a is not. Compare %ENV and $a ...
Has this always been the case?
I kind of remember @a being "weird" too.
$ perl -e'use strict;@1=(666)' $ perl -e'use strict;@STDOUT=(666)' $ perl -e'use strict;@ENV=(666)' #but $ perl -e'use strict;@a=(42)' Global symbol "@a" req +uires explicit package name (did you forget to declare "my @a"?) at - +e line 1. $ perl -e'print $]' 5.040003$
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^6: perldoc -lf anomaly (%_)
by LanX
in thread perldoc -lf anomaly
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |