Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: OO - best way to have protected methods

by BaldPenguin (Friar)
on Aug 17, 2005 at 14:58 UTC ( [id://484457]=note: print w/replies, xml ) Need Help??


in reply to OO - best way to have protected methods

One of the links inside the page adrianh sent us to was about InsideOut Objects mainly involving use of some cpan classes to get the privacy, very effective. Damian also discusses this in his Perl Best Practices book, it's good reading.

Don
WHITEPAGES.COM | INC
Everything I've learned in life can be summed up in a small perl script!
  • Comment on Re: OO - best way to have protected methods

Replies are listed 'Best First'.
Re^2: OO - best way to have protected methods
by tphyahoo (Vicar) on Aug 17, 2005 at 16:41 UTC
    Insideout objects are angerous with threads though, due to windows/unix differences -- unless you're real real careful. And Damian may not have warned his readers enough in the book: Threads and fork and CLONE, oh my!.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-23 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found