in reply to BEGIN, END, eval and die.

A more complete solution if you wish to trap errors in OO-ish way is Graham Barr's Error. module.

Although I am not a big fan of throw, try and catch (personal illogical old fart reasons). I have used it where eval... if $@ just wouldn't do and it was relativley painless.

mitd-Made in the Dark
'My favourite colour appears to be grey.'