Boolean support for Perl

Edit Package perl-boolean
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 (show unmerged sources)
Filename Size Changed
boolean-0.46.tar.gz 0000015552 15.2 KB
cpanspec.yml 0000000669 669 Bytes
perl-boolean.changes 0000003194 3.12 KB
perl-boolean.spec 0000002016 1.97 KB
Latest Revision
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 1)
Comments 0
openSUSE Build Service is sponsored by