in reply to Re: Base class constructor that blesses into subclass
in thread Base class constructor that blesses into subclass
This is cleaner than blessing into the subclass in the "parent". I also more or less incorporated Jenda's suggestion and made the subclasses all support the same methods (except for some accessors that differ across subclasses).return $class_name->new(%args)
|
|---|