Here are the results of testing Anon and jellisii2's suggestions:
(Sample code used for testing available if needed)
Log4perl qw/:easy/;
PROS:
CONS:
Export custom die() in Logger.pm
PROS:
CONS:
Wrap logging in custom $SIG{__DIE__} handler
PROS:
CONS:
Any further suggestions on how I should proceed? I am leaning towards using $SIG{__DIE__} and then testing to see if anything breaks unexpectedly. If things do break, I plan on either installing the missing modules, or if ActiveState does not have them, localising $SIG{__DIE__} and wrapping the offending call in an eval.
In reply to Re: YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
by ateague
in thread [SOLVED] YAML, $SIG{__DIE__}, Log4perl, $^S, and eval{}
by ateague
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |