NAME

Parse::JCONF::Boolean - boolean constants for Parse::JCONF

SYNOPSIS

use Parse::JCONF;
use Parse::JCONF::Boolean qw(TRUE FALSE);

my $res = Parse::JCONF->new(autodie => 1)->parse_file('/dev/random');
if ($res->{bool_value} == TRUE) {
    print "this is boolean true";
}
elsif ($res->{bool_value} == FALSE) {
    print "this is boolean false";
}

DESCRIPTION

This package provides two constants: TRUE and FALSE. This constants may be exported on request. You can compare value parsed by JCONF parser with this constants to determine that value is of boolean type (was true/false in JCONF).

SEE ALSO

Parse::JCONF

COPYRIGHT

Copyright Oleg G <oleg@cpan.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.