NAME

Getopt::Yath::Option::Bool - Option type for boolean values (no arguments)

DESCRIPTION

Is either on or off. --opt will turn it onn. --no-opt will turn it off. Default is off unless the default is parameter is provided.

SYNOPSIS

option dry_run => (
    type => 'Bool',
    description => "Only pretend to do stuff",
    default => 0,
);

EXPORTS

SOURCE

The source code repository for Getopt-Yath can be found at http://github.com/Test-More/Getopt-Yath/.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright Chad Granum <exodist7@gmail.com>.

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

See http://dev.perl.org/licenses/