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.


Comment on Re^2: Nested runtime warning disabling
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2015-08-04 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (74 votes), past polls