On Jun 16, 2010, at 7:14 PM, Kate Yoak wrote:
On Jun 16, 2010, at 3:57 PM, Karen Etheridge wrote:
On Wed, Jun 16, 2010 at 03:28:20PM -0700, Kate Yoak wrote:
I normally do so as early as possible so I could start using
things like Error.pm - and prefer not writing and "real code" with
Moose namespace still on.
Another orthogonal comment: Error.pm is evil; don't use it.
Try::Tiny or
TryCatch are much better.
OK, in the last few hours, on this relatively quiet mailing list,
there have been two honesty-goodness laugh-out-loud jokes, and two
separate moral denunciations.
Something's clearly in the air.
(That said, thanks, I was getting the inkling of the dark side
within Error.pm for a while now!)
Even the authors of Error.pm no longer recommend it (http://search.cpan.org/~shlomif/Error-0.17016/lib/Error.pm#WARNING
).
Personally I like Try::Tiny, it is simple and smart and just does
things right. Also, since Moose depends on it, so it is already
installed :)
- Stevan