in reply to Re: Private & Protected Objects
in thread Private & Protected Objects
Also, standard access to internals gives you a number of mechanisms for compatibility, etc. One of the things that I like about Moose is that I can pass an object off to a TT template and use it as a hashref.
The solution to "enforced privacy" is immutability and functional programming. Perl does pretty well there if you are careful.
|
|---|