Or how about replacing each die with LOGDIE from use Log::Log4perl qw(:easy);
That is what I am trying to avoid. The whole raison d'être of this is to seamlessly add Log4perl to an existing script without having to go hunt down and change all the die() (and warn()) calls in the code.
In reply to Re^2: YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
by ateague
in thread [SOLVED] YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
by ateague
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |