BSD Ports

devel/p5-Data-Lock 1.03 DragonFly

Make variables (im)?mutable

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
11.6 KiB, 19.8 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.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Data-Lock1.03
FreeBSDdevel/p5-Data-Lock1.03
HardenedBSDdevel/p5-Data-Lock1.03
GhostBSDdevel/p5-Data-Lock1.03

Install

Binary package:

pkg install p5-Data-Lock

From DPorts:

cd /usr/dports/devel/p5-Data-Lock && make install clean

Dependencies

Run dependencies 1

No port depends on this one.