my $s = 'Dog'; my $class = 'My::Pets::' $s ; use Class::Runtime; my $cl = Class::Runtime->new( class=> $class); $cl->load unless $cl->isLoaded; my $obj = $class->new;
In reply to Re: Object loading at runtime
by davidrw
in thread Object loading at runtime
by benrwebb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |