2009/6/27 Joshua ben Jore <twi...@gmail.com>:
> Uh... yeah, maybe.
>
> Reading warnings.pm's &import is revealing. Appears the current
> package doesn't matter at all - it just writes to ${^WARNING_BITS}
> which is global because it is one of those ${^...} variables.

No, it's not global : it's a magic variable that points at the current
warnings for the statement being compiled (much like %^H and $^H point
at the pragmas currently in effect at compile time).

Reply via email to