The fix is to add local():local $_ = 5;
...
As of perl 5.9.1, you can now use a lexical version of $_ by declaring it in a file or in a block with "my".
Cheers Rolf
In reply to Re^4: non aliased default var $_
by LanX
in thread non aliased default var $_
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |