Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Nested runtime warning disabling

by kryten (Scribe)
on Jul 26, 2004 at 21:34 UTC ( #377587=note: print w/replies, xml ) Need Help??


in reply to Re: Nested runtime warning disabling
in thread Nested runtime warning disabling

The problem with moving the 'no warnings' outside the test_warnings sub is that I will not get warnings when I call:
sub another_test { AnotherSub(); }
The local signal handler might work if I can just catch the class of error I'm trying to supress and 'pass through' everything else as normal.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://377587]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-11-18 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?