Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: When throw exceptions?

by zwon (Abbot)
on Jul 10, 2012 at 11:28 UTC ( #980856=note: print w/replies, xml ) Need Help??


in reply to When throw exceptions?

Croaks are exceptions, use them if you like it. I personally mostly use die and croak, and avoiding Exception::Class style exceptions, as IMO they only bloat the code and make it harder to find problems. But it is matter of taste.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://980856]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2016-12-04 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (61 votes). Check out past polls.