in reply to Feedback on Class::Container
This way each constructor takes what it wants, and if there are leftovers in the base class constructor, it can signal an error.sub Parent::factory { my $type = shift; # ... $type->new(@_); }
/s
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Feedback on Class::Container
by kwilliams (Sexton) on Jul 01, 2002 at 01:41 UTC |