Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
(cLive ;-) Re: use Fatal;by cLive ;-) (Prior) |
on Jan 10, 2002 at 05:20 UTC ( [id://137645]=note: print w/replies, xml ) | Need Help?? |
Actually, DBI is where I was thinking of bringing it in, combined with a custom $SIG{__DIE__}, eg:
But make sure you explicitly refer to the error (ie, don't use OO method unless method will definitely be in scope in the sub). Could be very useful... cLive ;-)
In Section
Meditations
|
|