CGI::Untaint::integer - validate an integer
my $age = $handler->extract(-as_integer => 'age');
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.
Tony Bowden, <kasei@tmtm.com>.
Copyright (C) 2001 Tony Bowden. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CGI::Untaint, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Untaint
CPAN shell
perl -MCPAN -e shell install CGI::Untaint
For more information on module installation, please visit the detailed CPAN module installation guide.