If you want to modify the value of a built in, you must use local to do it, and then the modification will be local to the enclosing code block.
Update: Time to revisit local :)
In reply to Re: Error: Can't use global $^W in "my"
by dsb
in thread Error: Can't use global $^W in "my"
by Likeless
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |