Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: OO: sharing data across inheritanceby cyocum (Curate) |
on Jun 02, 2004 at 10:04 UTC ( [id://359312]=note: print w/replies, xml ) | Need Help?? |
What I would do is call SUPER::new->() (or whatever the constructor for your base class is) then manipulate the reference that comes out of that and then bless it into the child package. This is just off the top of my head but I would check here perltooc, which is class data in perl faq or here.
In Section
Seekers of Perl Wisdom
|
|