search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
14 lines
378 B
Text
14 lines
378 B
Text
Most programming languages have a native "Boolean" data type. Perl
|
|
does not.
|
|
|
|
Perl has a simple and well known Truth System. The following scalar
|
|
values are false:
|
|
|
|
@false = (undef, 0, 0.0, '', '0');
|
|
|
|
Every other scalar value is true.
|
|
|
|
This module provides basic Boolean support, by defining two special
|
|
objects: "true" and "false".
|
|
|
|
WWW: https://metacpan.org/release/boolean
|