Boolean support for Perl
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'.
- Sources inherited from project openSUSE:12.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:12.2:ARM/perl-boolean && cd $_
- Create Badge
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 | 0000002012 1.96 KB |
Latest Revision
Adrian Schröter (adrianSuSE)
committed
(revision 1)
branched from openSUSE:Factory
Comments 0