Name : perl-ex-constant-vars
| |
Version : 0.07
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-03 17:55:19
|
Group : Development/Libraries/Perl
| Source RPM : perl-ex-constant-vars-0.07-lp156.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : create readonly variables (alternative to constant pragma)
|
Description :
This package allows you to create readonly variables. Unlike the \'constant\' pragma, this module lets you create readonly scalars, arrays and hashes.
The Const::Fast module is a much better solution for immutable variables.
This module \'tie()\'s variables to a class that disables any attempt to modify a variable\'s data.
* Scalar
You cannot change the value in any way: not only assignment, but functions such as chomp and chop will fail.
* Array
You cannot add to the array (unshift, push), remove from the array (shift, pop), nor change any values in the array.
* Hash
You cannot change items in the hash, add new items to it, nor delete a key.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-E/15.6/noarch |