in reply to Re: YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
in thread [SOLVED] YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
by Anonymous Monk on Mar 21, 2014 at 14:33 UTC |