That way there is no dependency and nobody will ever have to wonder what the actual scope of your non-standard warnings loading is.BEGIN { # Keep older versions of Perl from seeing warnings. $INC{"warnings.pm"} = "faked" if $] < 5.006; } ... use warnings;
In reply to Re: Backward compatible lexical warnings
by tilly
in thread Backward compatible lexical warnings
by xdg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |