> There is a small list of "special" symbols which are
> always in package main by default no matter what package you are in.
> *_ is one.
I thought that might be a useful thing to have, so I put a patch into 5.6.0 to add lots of those variables. So now if you want to have a variable that is always in package main for some reason, you can call it ${^_Ben_Tillys_Variable}, and no matter what package you are in, you always get the same thing.
It's documented at the very end of perlvar, as is the stuff Ben was discussing.
In reply to Re: $_ haters anonymou
by Dominus
in thread $_ haters anonymou
by MeowChow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |