Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
package Test; use strict; use Module::Test; our @ISA = qw ( Module::Test ); sub new { my $class = shift; my $t = "Test"; my $self = Module::$t->new; bless ($self, $class); return $self; } Bad name after Module:: at /home/bert/Test.pm line 18. 1;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: object contstruction
by blueberryCoffee (Scribe) on Dec 14, 2004 at 10:32 UTC | |
by kappa (Chaplain) on Dec 14, 2004 at 12:28 UTC | |
Re: object contstruction
by dragonchild (Archbishop) on Dec 14, 2004 at 14:04 UTC | |
Re: object contstruction
by zejames (Hermit) on Dec 14, 2004 at 10:15 UTC | |
Re: object contstruction
by rinceWind (Monsignor) on Dec 14, 2004 at 10:26 UTC | |
by ysth (Canon) on Dec 14, 2004 at 10:36 UTC |