SYNOPSIS

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

  my $email = $handler->extract(-as_email => 'emailaddress');

DESCRIPTION

CGI::Untaint::email input handler verifies that it is a valid \s-1RFC2822\s0 mailbox format.

The resulting value will be a Mail::Address instance.

AUTHOR

Tatsuhiko Miyagawa <[email protected]>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

RELATED TO CGI::Untaint::email…

CGI::Untaint, Email::Valid