Name : perl-constant-tiny
| |
Version : 1.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.2.1
| Date : 2023-07-20 20:24:28
|
Group : Development/Libraries/Perl
| Source RPM : perl-constant-tiny-1.02-lp155.2.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl pragma to declare constants
|
Description :
This module is a lightweight version of the Perl standard module \'constant.pm\'. Here are the keys differences:
* only works on Perl 5.10+ in order to simplify a good part of the code
* doesn\'t support Unicode names; please use the standard \'constant.pm\' module if you need to create constants with Unicode names
* stricter rules about valid names, only allow names with alphanums (\'[a-zA-Z0-9]\' and underscore (\'_\'), allowing one optional leading underscore
In order to simplify its usage, \'constant:tiny\' uses the normal \'constant\' API. The main advatange is that switching your code to \'constant::tiny\' means simply adding it before the first \'use constant\'. The disadvantage is that, obviously, both modules can\'t be used at the same time. If the normal \'constant\' was loaded before \'constant::tiny\', the latter won\'t do anything, letting the normal \'constant\' do the work.
Other than this, the usage is (nearly) exactly the same as with the standard \'constant\' module. For more details, please read constant.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/15.5/noarch |