I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-08-11 16:42:50-07 by stvn in response to 8535
Re: Moose can't seem to coexist with Error.pm

I just created this runnable example, and it works just fine on my system (perl 5.8.6, Moose 0.55, Class::MOP 0.64 and Error 0.17015).

#!/usr/bin/perl use strict; use warnings; use Error qw(:try); use Moose; try { throw Error::Simple ("Whoops"); } catch Error::Simple with { my $ex = shift; print "$ex"; }

If you have a more detailed case which exhibits your issue, please submit it in a bug report on rt.cpan.org and we can take a look. It is also helpful if you can include a self-contained runnable example and the actual error you are seeing as well, without these I can only guess as to the problem you are having.

Has anyone used moose with exception another exception handling module ?

Yes, it is used regularly with Exception::Class without issue, and I suspect with Error.pm too, otherwise I am sure someone would have raised the issues before now.

- Stevan

Direct Responses: 9208 | Write a response