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.28.tar.gz 0000031810 31.1 KB
perl-boolean.changes 0000001215 1.19 KB
perl-boolean.spec 0000002004 1.96 KB
Revision 3 (latest revision is 14)
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 83475 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 3)
- updated to 0.28
 - Added -truth option.
 - This idea was inspired by https://rt.cpan.org/Ticket/Display.html?id=65536
 - Awesome idea!
 - Released from Liz++&Wendy++ downstairs bathroom
Comments 0
openSUSE Build Service is sponsored by