Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^7: Throw DB error

by Anonymous Monk
on Mar 04, 2010 at 04:44 UTC ( [id://826605]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://826605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found