laziness, impatience, and hubris | |
PerlMonks |
Re^6: Throw DB errorby Bheema_Tyco (Novice) |
on Mar 04, 2010 at 04:28 UTC ( [id://826604]=note: print w/replies, xml ) | Need Help?? |
WARN_Handler and DIE_Handler are the two sub routines i have defined. Whenever db throw errors these routine will get activated. i am calling these methods using SIG { } command See bellow code
here &WARN_Handler and &DIE_Handler are the two sub routines OK. So now tell me how to throw db error as we in JAVA or some languages.
In Section
Seekers of Perl Wisdom
|
|