Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: Overriding CORE::GLOBAL::warn/die

by clueless newbie (Chaplain)
on Sep 22, 2012 at 17:37 UTC ( #995112=note: print w/replies, xml ) Need Help??

in reply to Re: Overriding CORE::GLOBAL::warn/die
in thread Overriding CORE::GLOBAL::warn/die

Iím scrambling away from the very thought of this situation so fast, I donít even care why itís not working ... My spider-sense is going off; my trusty elven sword is glowing bright blue ...

Your senses do not deceive you! Involved is a tie of STDERR, BEGIN/INIT/END blocks, implicit source filtering (of modules used) by means of unshifting a sub onto @INC, the override of core die ... and I can't remember what else. And most of the time it does its job quite nicely. And when it doesn't ... I remove the use statement and debug the normal way.

  • Comment on Re^2: Overriding CORE::GLOBAL::warn/die

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995112]
[Corion]: ... and also a visit to my godson+family of course :)
Corion orders some gifts online :)
[ambrus]: We're spending Christmas and the week after at my brother's place. First time ever, because the last four years they could came home instead.
[ambrus]: robby_dobby: wait what? Glasgow? isn't that one of the most boring towns ever?
[marto]: ambrus: no :)
[robby_dobby]: ambrus: Dunno. marto is from Glasgow. I'm in London and I say London is quite colourful, but boring :-)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-12-15 10:47 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (431 votes). Check out past polls.