for my $error_type (qw( Unrecoverable Unrecoverable::BrainDamage )) { eval(" package MonkeyMan::Error::$error_type; our \@ISA = 'MonkeyMan::Error'; 1 ") or die $@; }
In reply to Re: Moose: creating sub-classes on the fly
by ikegami
in thread Moose: creating sub-classes on the fly
by v_melnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |