http://www.perlmonks.org?node_id=811351


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

OK. I just uncovered an "unintended" side effect when I tried to apply this technique in a converse fashion *another* script where instead of trying to prevent the script from exiting on "die", I only want to prepend an action to occur before exiting. Since this case in a sense the converse of the case in this thread, to avoid confusion, I am asking the full question in a new thread id=//811358.
  • Comment on Re^2: Best way to replace 'die' with 'warn'