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)
In reply to Re: log::log4perl capture warnings
by jeffa
in thread log::log4perl capture warnings
by cah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |