|
|
| Do you know where your variables are? | |
| PerlMonks |
(tye)Re: Silencing warnings when testingby tye (Cardinal) |
| on Oct 28, 2002 at 03:24 UTC ( #208437=note: print w/ replies, xml ) | Need Help?? |
|
The test harnesses don't complain about lines that start with "#" so you can do:
local( $SIG{__WARN__} )= sub { warn "# ",@_ };
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||