Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Errors in Module - What to do with them.

by suaveant (Parson)
on Sep 26, 2001 at 23:43 UTC ( [id://114920]=note: print w/replies, xml ) Need Help??


in reply to Errors in Module - What to do with them.

Really, in the end, that is up to the error. In *most* cases it is probably best to return the error to the user, but there can be cases, where things just go absolutely wrong that a die isn't a bad idea (and can still be trapped by eval). But probably best is to return errors, and possibly have an option the user can set on whether they want errors to be fatal or not.

                - Ant
                - Some of my best work - Fish Dinner

  • Comment on Re: Errors in Module - What to do with them.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2024-04-24 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found