CGI::Untaint::integer - validate an integer


CGI-Untaint documentation  | view source Contained in the CGI-Untaint distribution.

Index


NAME

Top

CGI::Untaint::integer - validate an integer

SYNOPSIS

Top

  my $age = $handler->extract(-as_integer => 'age');

DESCRIPTION

Top

This Input Handler verifies that it is dealing with an integer. The integer can be positive or negative, but only in a basic format (i.e. a string of digits). It will not accept exponentials.

AUTHOR

Top

Tony Bowden, <kasei@tmtm.com>.

COPYRIGHT

Top


CGI-Untaint documentation  | view source Contained in the CGI-Untaint distribution.