diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-30 18:14:55 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-30 18:14:55 +0000 |
commit | 9a7e733057bcd6b7409efb36e0dbc5b2cbf6146f (patch) | |
tree | f793cd4da0e2e4f057f316c190d6448651daf25a /devel/p5-Class-Std/pkg-descr | |
parent | 8e7a2b625b6cbdb6fc04110cf03eaad465997f40 (diff) | |
download | ports-9a7e733057bcd6b7409efb36e0dbc5b2cbf6146f.tar.gz ports-9a7e733057bcd6b7409efb36e0dbc5b2cbf6146f.zip |
Notes
Diffstat (limited to 'devel/p5-Class-Std/pkg-descr')
-rw-r--r-- | devel/p5-Class-Std/pkg-descr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/p5-Class-Std/pkg-descr b/devel/p5-Class-Std/pkg-descr new file mode 100644 index 000000000000..2f927156cc6a --- /dev/null +++ b/devel/p5-Class-Std/pkg-descr @@ -0,0 +1,12 @@ +Most programmers who use Perl's object-oriented features construct their +objects by blessing a hash. But, in doing so, they undermine the +robustness of the OO approach. Hash-based objects are unencapsulated: +their entries are open for the world to access and modify. + +Objects without effective encapsulation are vulnerable. Instead of +politely respecting their public interface, some clever client coder +inevitably will realize that it's marginally faster to interact directly +with the underlying implementation, pulling out attribute values +directly from the hash of an object. + +WWW: http://search.cpan.org/dist/Class-Std/ |