Boolean support for Perl

http://search.cpan.org/dist/boolean/

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:

$false1 = undef;
$false2 = 0;
$false3 = 0.0;
$false4 = '';
$false5 = '0';

Every other scalar value is true.

This module provides basic Boolean support, by defining two special
objects: 'true' and 'false'.

Refresh
Refresh
Source Files
Filename Size Changed Actions
boolean-0.46.tar.gz 0000015552 15.2 KB over 3 years
cpanspec.yml 0000000669 669 Bytes over 3 years
perl-boolean.changes 0000003194 3.12 KB over 3 years
perl-boolean.spec 0000002016 1.97 KB over 3 years
Comments for perl-boolean 0