Have a look at this article by Matt S Trout. The 'maybe' routine is basically one of the ways I usually do this.
In reply to Re: Error handling in chained method calls
by phaylon
in thread Error handling in chained method calls
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |