CGI::Untaint::ipaddress - validate an IP address


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

Index


NAME

Top

CGI::Untaint::ipaddress - validate an IP address

SYNOPSIS

Top

  use CGI::Untaint;
  my $handler = CGI::Untaint->new($q->Vars);

  my $url = $handler->extract( -as_ipaddress => 'ip' );

DESCRIPTION

Top

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.

SEE ALSO

Top

CGI::Untaint

AUTHOR

Top

Simon Cozens, simon@kasei.com

COPYRIGHT

Top


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