Name : perl-constant-boolean
| |
Version : 0.02
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.16.2
| Date : 2023-05-17 17:12:14
|
Group : Development/Libraries/Perl
| Source RPM : perl-constant-boolean-0.02-lp155.16.2.src.rpm
|
Size : 0.03 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 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: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.5/noarch |