in reply to Re: Code Loop?
in thread Code Loop?
Point is that $@ is a special global package variable, with the glob *main::@ , hence this glob has slots for an array, hash, function,... without being declared.
like
D:\Users\lanx>perl -E "use strict; say @@" D:\Users\lanx>perl -E "use strict; say *@" *main::@
IMHO in at least 95% of the cases these slots are used accidentally.
Some use them intentionally, but could activate a pragma in these cases. °
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
°) dunno many obfuscators who use strict anyway ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Code Loop?
by Corion (Patriarch) on Aug 08, 2018 at 14:31 UTC | |
by LanX (Saint) on Aug 08, 2018 at 14:42 UTC |