Knowing at least the common perlvars is important, but more generally, I think the moral of the story is to look at global special variables when something unexpected shows up.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In reply to Re^4: Spot the Bug
by xdg
in thread Spot the Bug
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |