CGI::Untaint::ipaddress - validate an IP address
use CGI::Untaint; my $handler = CGI::Untaint->new($q->Vars); my $url = $handler->extract( -as_ipaddress => 'ip' );
This CGI::Untaint input handler verifies that it is dealing with a reasonable IP. It does not check that the IP address is routable or reserved.
CGI::Untaint
Simon Cozens, simon@kasei.com
simon@kasei.com
Copyright (C) 2003 Simon Cozens. 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::ipaddress, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Untaint::ipaddress
CPAN shell
perl -MCPAN -e shell install CGI::Untaint::ipaddress
For more information on module installation, please visit the detailed CPAN module installation guide.