Solution: make sure $_ is localized before modifying it. Or use a lexical variable instead, like you do.
In reply to Re: Reference and $_ weirdness
by Joost
in thread Reference and $_ weirdness
by Marcello
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |