in reply to perl special variables
I may be misinterpreting the question, but aren't runtime errors things that cause the whole program to die? So, either you need to catch them via eval (and thus use the $@ variable), or you may be able to catch them on the way out via %SIG, although I'm not sure that's a good idea...
|
|---|