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.30.tar.gz 0000033231 32.5 KB
perl-boolean.changes 0000001454 1.42 KB
perl-boolean.spec 0000002296 2.24 KB
Revision 8 (latest revision is 14)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 181834 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 8)
- updated to 0.30
 - Fix https://rt.cpan.org/Public/Bug/Display.html?id=84398
 - Support JSON and JSON::XS. dankogai-san++
Comments 0
openSUSE Build Service is sponsored by