Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: How not to test exceptions

by diotalevi (Canon)
on Jul 22, 2005 at 14:23 UTC ( #477232=note: print w/replies, xml ) Need Help??


in reply to Re^2: How not to test exceptions
in thread How not to test exceptions

The problems Error has are introduced when you introduce the sugar which is why any Exception using code which avoids this error will also avoid the sugar. You can't get that sugar without also introducing that class of bugs. Its inherent.

Replies are listed 'Best First'.
Re^4: How not to test exceptions
by jk2addict (Chaplain) on Jul 22, 2005 at 17:08 UTC
    While that maybe true, who knows that? I didn't. Users just find Error on CPAN, install it and go about try/catching none the wiser. Maybe someone knowledgeable about the inherant problems with Errors try/catch should submit a pod path, or at least rate it accordinly.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2022-05-19 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?