Talk:Perl Programming/Objects

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

[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.

Personal tools