Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Error handling in chained method calls

by phaylon (Curate)
on Oct 23, 2010 at 17:43 UTC ( #866974=note: print w/replies, xml ) Need Help??


in reply to Error handling in chained method calls

Have a look at this article by Matt S Trout. The 'maybe' routine is basically one of the ways I usually do this.


Ordinary morality is for ordinary people. -- Aleister Crowley
  • Comment on Re: Error handling in chained method calls

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://866974]
help
Chatterbox?
[Corion]: Hmm. My overkill logging of transactions seems to bear fruit. I've built it in a way that the decision on every transaction must be logged, even if the transaction is just skipped, to prevent silent skips.
[Corion]: Now, three years in production, it found a situation (during development) where stuff was skipped without getting a log message.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-08-21 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (318 votes). Check out past polls.

    Notices?