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

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


Branch: pkgsrc-2015Q2, Version: 0.45nb1, Package name: p5-boolean-0.45nb1, 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.


Master sites: (Expand)

SHA1: 637c7e6216d1be5606bbead6b8e9cf0c12cc255a
RMD160: 48cd94a31ecbf41aa19d520d4e4b811d319dec4c
Filesize: 14.298 KB

Version history: (Expand)