in reply to Moose: creating sub-classes on the fly
for my $error_type (qw( Unrecoverable Unrecoverable::BrainDamage )) { eval(" package MonkeyMan::Error::$error_type; our \@ISA = 'MonkeyMan::Error'; 1 ") or die $@; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Moose: creating sub-classes on the fly
by McA (Priest) on Oct 10, 2014 at 16:36 UTC | |
by ikegami (Patriarch) on Oct 10, 2014 at 17:06 UTC | |
by tobyink (Canon) on Oct 10, 2014 at 21:36 UTC | |
by ikegami (Patriarch) on Oct 13, 2014 at 17:20 UTC |