in reply to Error handling in chained method calls

I wonder how do you deal with such situations?

The question is really what should happen if one of those steps fail?

If the answer is "throw an error", then I don't do anything. If the answer is "don't throw an error, and just continue normally", I wrap it all in an eval block.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: Error handling in chained method calls