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'.
- Links to openSUSE:Factory / perl-boolean
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:dirkmueller:AL:TW/perl-boolean && cd $_
- Create Badge
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 (dirkmueller)
committed
(revision 1)
Comments 0