Don't ask to ask, just ask | |
PerlMonks |
Re^5: OO Conversion Query - Sharing Databy Anonymous Monk |
on Apr 14, 2013 at 11:26 UTC ( [id://1028615]=note: print w/replies, xml ) | Need Help?? |
Finally nailed it. I have another module that loads all the common functions (still one function per pm file), instantiating a copy into $parent, passing $parent when it does and then each common function saves the $parent value to $self.
That should be the logical way to do it, since I'm passing $parent on each call. The only other way would be if I could use a command to get/call the parent from the child instantiations.
In Section
Seekers of Perl Wisdom
|
|