./devel/p5-boolean, Boolean support for Perl

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2014Q2, Version: 0.32nb1, Package name: p5-boolean-0.32nb1, Maintainer: abs

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.


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: c982a0864274883e129f6a89c9f6661657e4bfc1
RMD160: ce3c02bad177e54a9c3ceb340b8ddba03b9f6c53
Filesize: 12.789 KB

Version history: (Expand)