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
$SIG{__WARN__} = \&WARN_Handler; $SIG{__DIE__} = \&DIE_Handler;
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 reply to Re^6: Throw DB error
by Bheema_Tyco
in thread Throw DB error
by Bheema_Tyco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |