The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

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

DESCRIPTION

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

CGI::Untaint

AUTHOR

Simon Cozens, simon@kasei.com

COPYRIGHT

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.