FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.031.031.031.031.03
FreeBSD:14:quarterly1.031.03n/a1.031.03
FreeBSD:15:latest1.031.03n/a1.031.03
FreeBSD:15:quarterly1.031.03n/an/an/a
FreeBSD:16:latest1.031.03n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
Data-Lock-1.03.tar.gz71968a6965ee35dae29cfa25c267f07f830b9bd3a2ecaaa9d4671fa143665fd9ffc9
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.