FreeBSD.software
Home/devel/p5-Sentinel

p5-Sentinel

0.07devel

Create lightweight SCALARs with get/set callbacks

Sentinel provides a single lvalue function, sentinel, which yields a scalar that invoke callbacks to get or set its value. Primarily this is useful to create lvalue object accessors or other functions, to invoke actual code when a new value is set, rather than simply updating a scalar variable.

$pkg install p5-Sentinel
metacpan.org/release/Sentinel
Origin
devel/p5-Sentinel
Size
23.0KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
2 packages

Dependencies (1)

Required By (2)