|Do you know where your variables are?|
(tye)Re: Thou Shall Not Covet thy Object's Internalsby tye (Sage)
|on Apr 26, 2001 at 02:33 UTC||Need Help??|
To truely protect your object internals, you need to use closures.
Update: Note that I find doing such to be not only overkill but a bad idea in Perl (except perhaps within large Perl projects where the temptation to peek at another class's implementation, your motivation to protect other team members from themselves, and the interdependence of classes may all be higher). And with new modules for getting at lexicals other than your own, the extra 'protection' provided now isn't much anyway.- tye (but my friends call me "Tye")