devel/p5-Data-Lock 1.03
Make variables (im)?mutable
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 11.9 KiB, 19.4 KiB installed
Description
Data::Lock makes the specified variable immutable like Readonly. Unlike Readonly which implements immutability via tie, Data::Lock makes use of the internal flag of perl SV so it imposes almost no penalty.
Like Readonly, Data::Lock locks not only the variable itself but also elements therein. You can Data::Lock objects as well.
Install
As a binary package — by origin, or by package name:
pkg install devel/p5-Data-Lock
pkg install p5-Data-Lock
From the ports tree:
cd /usr/ports/devel/p5-Data-Lock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Data-Lock>0:devel/p5-Data-Lock
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 | 1.03 | 1.03 | 1.03 | 1.03 | 1.03 |
| FreeBSD:14:quarterly | 1.03 | 1.03 | n/a | 1.03 | 1.03 |
| FreeBSD:15:latest | 1.03 | 1.03 | n/a | 1.03 | 1.03 |
| FreeBSD:15:quarterly | 1.03 | 1.03 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.03 | 1.03 | 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
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%SITE_PERL%%/Attribute/Constant.pm
- %%SITE_PERL%%/Data/Lock.pm
- %%PERL5_MAN3%%/Attribute::Constant.3.gz
- %%PERL5_MAN3%%/Data::Lock.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Data-Lock-1.03.tar.gz | 7196 | 8a6965ee35dae29cfa25c267f07f830b9bd3a2ecaaa9d4671fa143665fd9ffc9 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.