in reply to Re^4: OO Conversion Query - Sharing Data
in thread OO Conversion Query - Sharing Data

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.

  • Comment on Re^5: OO Conversion Query - Sharing Data