Name : perl-constant-boolean
| |
Version : 0.02
| Vendor : openSUSE
|
Release : bp155.2.8
| Date : 2023-05-17 16:02:52
|
Group : Development/Libraries/Perl
| Source RPM : perl-constant-boolean-0.02-bp155.2.8.src.rpm
|
Size : 0.03 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Define TRUE and FALSE constants.
|
Description :
Defines \'TRUE\' and \'FALSE\' constants in caller\'s namespace. You could use simple values like empty string or zero for false, or any non-empty and non-zero string value as true, but the \'TRUE\' and \'FALSE\' constants are more descriptive.
It is virtually the same as:
use constant TRUE => !! 1; use constant FALSE => !! \'\';
The constants exported by \'constant::boolean\' are not reported by the Test::Pod::Coverage manpage, so it is more convenient to use this module than to define \'TRUE\' and \'FALSE\' constants by yourself.
The constants can be removed from class API with \'no constant::boolean\' pragma or some universal tool like the namespace::clean manpage.
|
RPM found in directory: /vol/rzm3/linux-opensuse/distribution/leap/15.5/repo/oss/noarch |