Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2015-07-02 13: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 (40 votes), past polls