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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.02-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.02-bp155.2.8 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.02-bp154.1.17 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.02-bp153.1.12 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.02-bp152.3.16 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.02-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.02-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.02-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|