in reply to Re^6: Throw DB error
in thread Throw DB error

warn and die are perl sub routines OK, understand?

Replies are listed 'Best First'.
Re^8: Throw DB error
by Bheema_Tyco (Novice) on Mar 04, 2010 at 06:54 UTC

    i know that, i also know that whenever any thing goes wrong then those sub routine will be called. But the thing is as in java or .Net can i throw our own exception/error in perl

      Did you know that die is perls exception mechanism?