Make copies and pass them in instead.This is as easy as just passing "$1" instead of $1.
In reply to Re^4: Strange behavior: passing $1 to AUTOLOAD
by ysth
in thread Strange behavior: passing $1 to AUTOLOAD
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |