[EMAIL PROTECTED] wrote: > I am trying to build an inheritable object, and I am using examples > from the Perl Cookbook, 2nd edition, mostly Recipe 13.1, using the > new and _init methods.
Your subclass does not need (and should not have) a new() method; it can use the one from the base class. As Randal pointed out, the subclass _init needs to call $self->SUPER::_init(), and then do any additional initialization. If there is no additional initialization in the subclass, you don't need an _init method there either. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>