Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Keep It Simple, Stupid
 
PerlMonks  

Re: OO - best way to have protected methods

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 12: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.