BSD Ports

devel/p5-Class-Std 0.013 DragonFly

Support for creating standard "inside-out" classes

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
41.1 KiB, 99.1 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Class-Std0.013
FreeBSDdevel/p5-Class-Std0.013
OpenBSDdevel/p5-Class-Std0.013p0
NetBSDdevel/p5-Class-Std0.0.13nb11
HardenedBSDdevel/p5-Class-Std0.013
GhostBSDdevel/p5-Class-Std0.013

Install

Binary package:

pkg install p5-Class-Std

From DPorts:

cd /usr/dports/devel/p5-Class-Std && make install clean

Dependencies

Run dependencies 1