Path to this page:
./
devel/p5-boolean,
Boolean support for Perl
Branch: pkgsrc-2017Q4,
Version: 0.46nb1,
Package name: p5-boolean-0.46nb1,
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: a25a456c8f9954fec445d663882c464f5dcb78ea
RMD160: ff7d09e17f7c627b587b666f8d665ea0e4c6b4fd
Filesize: 15.188 KB
Version history: (Expand)
- (2018-01-02) Package added to pkgsrc.se, version p5-boolean-0.46nb1 (created)