in reply to
Warnings using -w
It's because the effect of -w is global and "use warnings" is only for the lexical scope. That's why "use warnings" is recommend nowadays.
Comment on
Re: Warnings using -w
In Section
Seekers of Perl Wisdom