Moose - Moose can't seem to coexist with Error.pm

Posted on Mon Aug 11 17:23:23 2008 by maqsoum
Moose can't seem to coexist with Error.pm

use Error qw(:try);
use MyExceptionClassDescendentOfErrorSimple;
use Moose;

try {
_CallMethod();
}
catch MyExceptionClassDescendentOfErrorSimple with {
my $ex = shift;
print "ex";
}

This will not compile, if I remove 'use Moose', it works fine. Has anyone used moose with exception another exception handling module ? If moose is a complete object system, it ought to allow the use of an exception mecganism !
Direct Responses: 8536 | Write a response