in reply to [SOLVED] YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
where MyModuleWhichExports_die exports a custom sub die { } which does whatever you need it to do?use MyModuleWhichExports_die;
Or how about replacing each die with LOGDIE from use Log::Log4perl qw(:easy);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
by ateague (Monk) on Mar 21, 2014 at 14:18 UTC | |
by Anonymous Monk on Mar 21, 2014 at 14:31 UTC | |
|
Re^2: YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
by ateague (Monk) on Mar 21, 2014 at 14:26 UTC | |
by Anonymous Monk on Mar 21, 2014 at 14:33 UTC |