Name : perl-constant-boolean
| |
Version : 0.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 20:24:38
|
Group : Development/Libraries/Perl
| Source RPM : perl-constant-boolean-0.02-lp155.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
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 Test::Pod::Coverage, 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 namespace::clean.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/15.5/noarch |