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.
In reply to Re^2: Overriding CORE::GLOBAL::warn/die
by clueless newbie
in thread Overriding CORE::GLOBAL::warn/die
by clueless newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |