more useful options | |
PerlMonks |
Re^4: Local for lexicalsby LanX (Saint) |
on Aug 11, 2009 at 00:11 UTC ( [id://787446]=note: print w/replies, xml ) | Need Help?? |
because $_[0] is an alias and $x is only a copy, he wants $x to be an alias of the first arg! see explanation of second code example in Re^3: Local for lexicals JadeNB should really post better test cases to avoid confusion!
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|