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
Filename Size Changed
boolean-0.26.tar.gz 0000023445 22.9 KB
perl-boolean.changes 0000000911 911 Bytes
perl-boolean.spec 0000002085 2.04 KB
Revision 1 (latest revision is 14)
Sascha Peilicke's avatar Sascha Peilicke (saschpe) accepted request 66689 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 1)
Accepted submit request 66689 from user babelworx
Comments 0
openSUSE Build Service is sponsored by