Readonly

Edit Package perl-Readonly
PUT_UPSTREAM_URL_HERE

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.

Refresh
Refresh
Source Files
Filename Size Changed
Readonly-1.04.tar.gz 0000025609 25 KB
perl-Readonly.changes 0000001655 1.62 KB
perl-Readonly.spec 0000002052 2 KB
Revision 18 (latest revision is 30)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 18)
- updated to 1.04
    - Module now maintained by Sanko Robinson. Please see TODO for a possible
      set of changes to this module that may effect code written for old, pre-
      perl 5.14.0 platforms!!!
Comments 0
openSUSE Build Service is sponsored by