in reply to log::log4perl capture warnings
You can't catch an error like that. Take a look at Surviving 'Illegal division by zero' for alternatives. (I think you'll need to eval a block and essentially handle this like you would catching exceptions -- that is, good old try ... catch ... throw.)
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: log::log4perl capture warnings
by cah (Initiate) on Apr 29, 2015 at 19:25 UTC |