* Shevek ([EMAIL PROTECTED]) [030706 17:54]:
> > Well.... no... probably you want something like this (in which case
> > the init() method does the real job):
> > 
> >  package Acme::Base;
> >  sub new
> >  {   my $class = shift;
> >      (bless {}, $class)->init( { @_ } );
> >  }
> 
> >  sub init($) {shift}
> 
> No, this _should_ live in the superclass.

You don't want Acme::Base->new to work?  Why not?
And otherwise you have to remember to implement this in all extension
of Acme::Base...
-- 
               MarkOv

------------------------------------------------------------------------
drs Mark A.C.J. Overmeer                                MARKOV Solutions
       [EMAIL PROTECTED]                          [EMAIL PROTECTED]
http://Mark.Overmeer.net                   http://solutions.overmeer.net

Reply via email to