Talk:Perl Programming/Objects
From Wikibooks, the open-content textbooks collection
[edit] Encapsulation
The encapsulation example is well meant, certainly, but it's just not very common or useful. I don't think this is common in any language without strict, technically enforced private variables (Python, Javascript); it's just suggested by outside parties as a way to get something more like C++ or Java.

