in reply to Re: Exceptions and Return Codes
in thread Exceptions and Return Codes
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.
|
|---|