devel/p5-Class-Std 0.013
Support for creating standard "inside-out" classes
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 41.7 KiB, 98.8 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.
Install
As a binary package — by origin, or by package name:
pkg install devel/p5-Class-Std
pkg install p5-Class-Std
From the ports tree:
cd /usr/ports/devel/p5-Class-Std/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Class-Std>0:devel/p5-Class-Std
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.013 | 0.013 | 0.013 | 0.013 | 0.013 |
| FreeBSD:14:quarterly | 0.013 | 0.013 | n/a | 0.013 | 0.013 |
| FreeBSD:15:latest | 0.013 | 0.013 | n/a | 0.013 | 0.013 |
| FreeBSD:15:quarterly | 0.013 | 0.013 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.013 | 0.013 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 1
All run dependencies 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Class/Std.pm
- %%PERL5_MAN3%%/Class::Std.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Class-Std-0.013.tar.gz | 39384 | bcd6d82f6c8af0fe069fced7dd165a4795b0b6e92351c7d4e5a1ab9a14fc35c6 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.