LogoopenSUSE Build Service > Projects
Sign Up | Log In


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.

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
Readonly-2.05.tar.gz 28.2 KB Download File
cpanspec.yml 668 Bytes Download File
perl-Readonly.changes 5.09 KB Download File
perl-Readonly.spec 1.76 KB Download File

Comments for home:matya:branches:devel:languages:perl (0)

Login required, please login or signup in order to comment