Syntactic Confectionery Delight | |
PerlMonks |
Re: Difference between 'use warnings' and '-w' switchby dave_the_m (Monsignor) |
on Jan 11, 2006 at 12:23 UTC ( [id://522415]=note: print w/replies, xml ) | Need Help?? |
use warnings is lexically scoped: it only enables warnings in the current block of code. -w is global: it enables warnings in all code, including Net::FTP.
Dave.
In Section
Seekers of Perl Wisdom
|
|