Path to this page:
./
devel/p5-boolean,
Boolean support for Perl
Branch: pkgsrc-2010Q1,
Version: 0.20,
Package name: p5-boolean-0.20,
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.
Required to run:[
lang/perl5]
Master sites: (Expand)
SHA1: 1ebb2a47d534b8f0a774bd330044c8adb49587ac
RMD160: a2244c364ee351e3d70aa102ed89d418ab820712
Filesize: 14.027 KB
Version history: (Expand)
- (2010-04-09) Package added to pkgsrc.se, version p5-boolean-0.20 (created)