NAME

Getopt::Yath::Option::Count - Option that can be incremented as a counter.

DESCRIPTION

Is an integer value, default is to start at 0. --opt increments the counter. --no-opt resets the counter. --opt=VAL can be used to specify a desired count.

SYNOPSIS

option verbose => (
    type => 'Count',
    short => 'v',
    description => "Increase the verbosity level",
    initialize => 0,
);

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/