View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Stefan Hornburg (Racke) > Data-Transpose-0.0023 > Data::Transpose::Validator::NumericRange

Download:
Data-Transpose-0.0023.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Data::Transpose::Validator::NumericRange - Validate numbers in a range

METHODS ^

new(min => $min, max => $max, integer => $bool)

Constructor, setting the minimum, the maximum and the integer option, which will validate only integers.

is_valid($number)

The validator. Returns a true value if the number is in the range passed to the constructor.

INTERNAL ACCESSORS ^

min

Return the minimum

min

Return the maximum

integer

Return true if we have to validate only integers

syntax highlighting: