FreeBSD.software
Home/devel/p5-Const-Fast

p5-Const-Fast

0.014_2devel

Facility for creating read-only scalars, arrays, and hashes

This module was written because I stumbled on some serious issues of Readonly that aren't easily fixable without breaking backwards compatibility in subtle ways. In particular Readonly's use of ties is a source of subtle bugs and bad performance. Instead, this module uses the builtin readonly feature of perl, making access to the variables just as fast as any normal variable without the weird side-effects of ties. Readonly can do the same for scalars when Readonly::XS is installed, but chooses not to do so in the most common case.

$pkg install p5-Const-Fast
metacpan.org/release/Const-Fast
Origin
devel/p5-Const-Fast
Size
13.3KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
3 packages
Required by
7 packages

Dependencies (3)

Required By (7)