aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-Logic/pkg-descr
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-09-20 18:47:37 +0000
committerWill Andrews <will@FreeBSD.org>2000-09-20 18:47:37 +0000
commit3d08e51a03f45a80fb07ecafbf4bc13fbffeeb63 (patch)
tree52166131d4734ea800470adc96b34a852e18c25f /math/p5-Math-Logic/pkg-descr
parentc1e19dddb5067ffb21a7e7ebc598e425498734e7 (diff)
downloadports-3d08e51a03f45a80fb07ecafbf4bc13fbffeeb63.tar.gz
ports-3d08e51a03f45a80fb07ecafbf4bc13fbffeeb63.zip
Notes
Diffstat (limited to 'math/p5-Math-Logic/pkg-descr')
-rw-r--r--math/p5-Math-Logic/pkg-descr10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/p5-Math-Logic/pkg-descr b/math/p5-Math-Logic/pkg-descr
new file mode 100644
index 000000000000..c97c337c80f0
--- /dev/null
+++ b/math/p5-Math-Logic/pkg-descr
@@ -0,0 +1,10 @@
+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