In a similar case i have used ..
my $temp = $class; $temp =~ s/::/\\/igs; require "$temp.pm"; $instance = $class->new(@args);
I'm not sure its error proof but it works like it should.
In reply to Re: OO Design Advice Sought
by eric256
in thread OO Design Advice Sought
by cleverett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |