our @ISA = qw ( Module::Test );
I'm trying to understand what you are attempting to do here. You are wanting to call the constructor of some other class in some other Module:xxx namespace, and you are then blessing this into your passed classname.my $self = Module::$t->new;
This is syntactically invalid, and also breaks strict 'refs', or rather would bresk it if you specified
my $self = ${"Module::$t"}->new;
--
I'm Not Just Another Perl Hacker
In reply to Re: object contstruction
by rinceWind
in thread object contstruction
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |