Home > Repository > base > perl-Readonly (x86_64)

perl-Readonly: Readonly - Facility for creating read-only scalars, arrays, hashes.

This is a facility for creating non-modifiable variables. This is useful for configuration files, headers, etc. It can also be useful as a development and debugging tool, for catching updates to variables that should not be changed.
If any of the values you pass to Scalar, Array, or Hash are references, then those functions recurse over the data structures, marking everything as Readonly. Usually, this is what you want: the entire structure nonmodifiable. If you want only the top level to be Readonly, use the alternate Scalar1, Array1 and Hash1 functions.
Please note that most users of Readonly will also want to install a companion module Readonly::XS. See the "CONS" section below for more details.
Nome:perl-Readonly
Versione: 2.05-1mamba
Architettura:x86_64
Gruppo:System/Libraries/Perl
Dimensione:25.05 kB
URL di origine:https://www.cpan.org/
RPM sorgente:perl-Readonly
CollegatiFornisceRende obsoletiRichiede
perl(Readonly) = 0:2.05
perl(Readonly::Array)
perl(Readonly::Hash)
perl(Readonly::Scalar)
perl-Readonly = 0:2.05-1mamba
perl-Readonly(x86-64) = 0:2.05-1mamba
perl >= 0:5.005 [1]
perl >= 0:5.24.0 [1]
perl(Exporter) [1]
perl(strict) [1]
perl(vars) [1]
File forniti