summaryrefslogtreecommitdiff
path: root/devel/p5-boolean/pkg-descr
blob: 62e716ee1d10f8ea3b0894c2ea7523f0b42f20ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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".