1CGI::Untaint::integer(3U)ser Contributed Perl DocumentatiCoGnI::Untaint::integer(3)
2
3
4
6 CGI::Untaint::integer - validate an integer
7
9 my $age = $handler->extract(-as_integer => 'age');
10
12 This Input Handler verifies that it is dealing with an integer. The
13 integer can be positive or negative, but only in a basic format (i.e. a
14 string of digits). It will not accept exponentials.
15
17 Tony Bowden, <kasei@tmtm.com>.
18
20 Copyright (C) 2001 Tony Bowden. All rights reserved.
21
22 This module is free software; you can redistribute it and/or modify it
23 under the same terms as Perl itself.
24
25
26
27perl v5.30.0 2019-07-26 CGI::Untaint::integer(3)