Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Best way to replace 'die' with 'warn'

by puterboy (Scribe)
on Dec 06, 2009 at 10:36 UTC ( #811318=note: print w/ replies, xml ) Need Help??

in reply to Re: Best way to replace 'die' with 'warn'
in thread Best way to replace 'die' with 'warn'

That works nicely!

Though I still have to wrap each function call with an eval...

I still hope that a seasoned "monk" could verify that other than changing the behavior of die, the addition of the 'eval' command won't change the behavior of anything else. Or if it does, then help me understand what other side effects adding 'eval' could have

Comment on Re^2: Best way to replace 'die' with 'warn'

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2015-11-29 22:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (754 votes), past polls