Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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

by suaveant (Parson)
on Sep 26, 2001 at 23:43 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2021-11-30 12:35 GMT
Find Nodes?
    Voting Booth?

    No recent polls found