Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl Privvies

by Herkum (Parson)
on Jul 16, 2006 at 23:17 UTC ( [id://561614]=note: print w/replies, xml ) Need Help??


in reply to Perl Privvies

I read in the new book, Perl Hacks, (Hack #43) Make Methods Really Private, which can allow access control.

My personal preference is Class::Std, it implements PUBLIC, PRIVATE and PROTECTED attributes that offer functionality for methods like Java.

I am sure that there are more than those two, though they are the ones that I know off the top of my head...

Replies are listed 'Best First'.
Re^2: Perl Privvies
by Ovid (Cardinal) on Jul 18, 2006 at 12:06 UTC

    You know, inside-out objects were the one thing I thought I really disagreed with in Damian's book. After all, with competent developers, it's easy to get folks to respect encapsulation and not do naughty things. Now I work at a new company and after looking at the code, I'm beginning to think that inside-out objects are a much better idea "for the masses" than I thought.

    Cheers,
    Ovid

    New address of my CGI Course.

      I'm beginning to think that inside-out objects are a much better idea "for the masses" than I thought.

      Glad to hear it :-)

      For me the problem isn't folk doing naughty things. Folk poking deserve all they get. The problem are the accidental interactions...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found