Think about Loose Coupling | |
PerlMonks |
(tye)Re: Silencing warnings when testingby tye (Sage) |
on Oct 28, 2002 at 03:24 UTC ( [id://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 "# ",@_ }; to keep the warnings but prevent them from looking unintentional. - tye (but don't call me "# Tye")
In Section
Seekers of Perl Wisdom
|
|