Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

(tye)Re: Silencing warnings when testing

by tye (Cardinal)
on Oct 28, 2002 at 03:24 UTC ( #208437=note: print w/ replies, xml ) Need Help??


in reply to Silencing warnings when testing

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")


Comment on (tye)Re: Silencing warnings when testing
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://208437]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-04 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls