Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: OO Conversion Query - Sharing Data

by Anonymous Monk
on Apr 14, 2013 at 11:26 UTC ( [id://1028615]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1028615]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-25 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found