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

Re: Error handling - how much?

by salva (Monsignor)
on Jun 12, 2005 at 18:59 UTC ( #465992=note: print w/ replies, xml ) Need Help??


in reply to Error handling - how much/where/how?

there is an easy response for that: handle errors when you know how, otherwise just die!

There is only one thing worse than an script that doesn't work, and it is an script that seems to work but that actually doesn't.


Comment on Re: Error handling - how much?
Re^2: Error handling - how much?
by monarch (Priest) on Jun 13, 2005 at 01:11 UTC
    Amen brother.

    And I hit an excellent example of that recently. I was writing a webpage in which 70 odd input elements had to be submitted. Mozilla was GETting the result with no problems, but when I switched to Internet Explorer I had a problem. If I typed no text in my form I could submit it. But if I typed text in my form, IE would sit there blankly while I pressed my submit button.

    So die.. die ungracefully, or error someone.. let the world know that something unexpected happened!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-08-23 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls