math/p5-Math-Logic 1.19_1 DragonFly
Perl module providing pure 2, 3, or multi-value logic
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- math, perl5
- Package size
- 15.2 KiB, 41.6 KiB installed
Description
Perl's built-in logical operators, C<and>, C<or>, C<xor> and C<not> support 2-value logic. This means that they always produce a result which is either true or false. In fact perl sometimes returns 0 and sometimes returns undef for false depending on the operator and the order of the arguments. For "true" Perl generally returns the first value that evaluated to true which turns out to be extremely useful in practice. Given the choice Perl's built-in logical operators are to be preferred -- but when you really want pure 2-degree logic or 3-degree logic or multi-degree logic they are available through this module
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | math/p5-Math-Logic | 1.19_1 |
| FreeBSD | math/p5-Math-Logic | 1.19_1 |
| HardenedBSD | math/p5-Math-Logic | 1.19_1 |
| GhostBSD | math/p5-Math-Logic | 1.19_1 |
Install
Binary package:
pkg install p5-Math-Logic
From DPorts:
cd /usr/dports/math/p5-Math-Logic && make install clean
Dependencies
Run dependencies 1
No port depends on this one.