>>>>> "John" == John Doe <[EMAIL PROTECTED]> writes:
John> my $self=$class::SUPER->new(%params);
I think you were trying to write:
my $self = $class->SUPER::new(%params);
Unless you were really looking for a variable named $class::SUPER
to find a class/instance for the call to new. :)
Also, you don't want to rebless when you do that. The blessing is
already correct, provided the constructors are written properly.
See my examples at <http://www.stonehenge.com/merlyn/UnixReview/col52.html>.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>