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

Re (tilly) 2: Exceptions and Return Codes

by tilly (Archbishop)
on Jun 29, 2001 at 20:33 UTC ( [id://92710]=note: print w/replies, xml ) Need Help??


in reply to Re: Exceptions and Return Codes
in thread Exceptions and Return Codes

If that question does not belong in the spirit of Perl, then neither does Very very small style question from Dominus.

Likewise the core documentation should cut out perlstyle, it is obviously encouraging the wrong attitudes towards Perl.

Now if I want someone else to tell me how to program, then I will use Python or Java. But if I stop looking for suggestions on how I might be able to program better, then I will look for another career.

Aside from that, I tend to do something similar to the rest of your answer except with the caveat that I think of Carp as being different from die and warn in that it makes it easy to get useful context. Also in CGI programming warn becomes a way to communicate with the server logs rather than the user. This distinction is often very useful.

  • Comment on Re (tilly) 2: Exceptions and Return Codes

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found