![]() |
|
"be consistent" | |
PerlMonks |
Re: use of -w and warningsby Ovid (Cardinal) |
on Dec 10, 2003 at 16:16 UTC ( #313758=note: print w/replies, xml ) | Need Help?? |
See perldoc for both warnings and perllexwarn. Basically, the warnings pragma gives you lexically scoped warnings and much finer grained control over the warnings. For example, if you don't want "redefined" warnings, but you don't want to suppress all of the other warnings, rather than create a customer $SIG{__WARN__} handler, you can specify no warnings 'redefine'. Cheers, New address of my CGI Course.
In Section
Seekers of Perl Wisdom
|
|