boolean: Difference between revisions
Jump to navigation
Jump to search
m (Redirected page to References#Basic Value and Parameter Types) |
No edit summary |
||
Line 1: | Line 1: | ||
== Overview == | |||
Empty string (unset option) or '''0''' means FALSE. | |||
'''1''' means TRUE. | |||
== Details == | |||
Option values are interpreted with [http://perldoc.perl.org/perlsyn.html#Truth-and-Falsehood Perl's Truth and Falsehood] rules. | |||
Boolean options MAY be extended in future. In such a case, values of '''0''' and '''1''' SHOULD preserve the old behaviour, and more values MAY be added. |
Revision as of 08:27, 16 August 2012
Overview
Empty string (unset option) or 0 means FALSE.
1 means TRUE.
Details
Option values are interpreted with Perl's Truth and Falsehood rules.
Boolean options MAY be extended in future. In such a case, values of 0 and 1 SHOULD preserve the old behaviour, and more values MAY be added.