devel/p5-boolean 0.46 DragonFly
Boolean support for Perl
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 8.7 KiB, 15.8 KiB installed
Description
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:
@false = (undef, 0, 0.0, '', '0');
Every other scalar value is true.
This module provides basic Boolean support, by defining two special objects: "true" and "false".
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-boolean | 0.46 |
| FreeBSD | devel/p5-boolean | 0.46 |
| OpenBSD | devel/p5-boolean | 0.46 |
| NetBSD | devel/p5-boolean | 0.46nb10 |
| HardenedBSD | devel/p5-boolean | 0.46 |
| GhostBSD | devel/p5-boolean | 0.46 |
Install
Binary package:
pkg install p5-boolean
From DPorts:
cd /usr/dports/devel/p5-boolean && make install clean