Term::CLI::Argument::Number::Int - class for integer arguments in Term::CLI
version 0.04005
use Term::CLI::Argument::Number::Int; my $arg = Term::CLI::Argument::Number::Int->new( name => 'count', min => 0, max => 100_000, inclusive => 1 );
Class for integer arguments in Term::CLI(3p). Extends Term::CLI::Argument::Number(3p).
Term::CLI::Argument::Number(3p).
None.
See Term::CLI::Argument::Number(3p).
Inherited from Term::CLI::Argument::Number(3p).
Additionally:
Overloaded to check for a valid integer value.
Term::CLI::Argument::Number::Float(3p), Term::CLI::Argument::Number(3p), Term::CLI::Argument(3p), Term::CLI(3p).
Steven Bakker <sbakker@cpan.org>, 2018.
Copyright (c) 2018 Steven Bakker
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See "perldoc perlartistic."
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Term::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::CLI
CPAN shell
perl -MCPAN -e shell install Term::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.