Path to this page:
./
devel/p5-boolean,
Boolean support for Perl
Branch: pkgsrc-2011Q4,
Version: 0.28,
Package name: p5-boolean-0.28,
Maintainer: absMost 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.
Master sites: (Expand)
SHA1: 2a4fbc78ebfa99cb7427ff7245f5d503877f092f
RMD160: d8cbeee4fc27055d8491e11d0e0292f39b14f088
Filesize: 31.064 KB
Version history: (Expand)
- (2012-01-08) Package added to pkgsrc.se, version p5-boolean-0.28 (created)