The stupid question is the question not asked | |
PerlMonks |
Re: Difference between 'use warnings' and '-w' switchby northwind (Hermit) |
on Jan 11, 2006 at 12:25 UTC ( [id://522418]=note: print w/replies, xml ) | Need Help?? |
-w turns warnings on for the entire program, while use warnings; only turns on warnings for the current /scope|module|file/. Update:Meh, late on the post. First post describes it better (if better is defined as using Perl compliant language :) ).
In Section
Seekers of Perl Wisdom
|
|