| 1 |
NAME |
| 2 |
CGI::Untaint::email - validate an email address |
| 3 |
|
| 4 |
SYNOPSIS |
| 5 |
use CGI::Untaint; |
| 6 |
my $handler = CGI::Untaint->new($q->Vars); |
| 7 |
|
| 8 |
my $email = $handler->extract(-as_email => 'emailaddress'); |
| 9 |
|
| 10 |
DESCRIPTION |
| 11 |
CGI::Untaint::email input handler verifies that it is a valid RFC2822 |
| 12 |
mailbox format. |
| 13 |
|
| 14 |
The resulting value will be a Mail::Address instance. |
| 15 |
|
| 16 |
AUTHOR |
| 17 |
Tatsuhiko Miyagawa <[email protected]> |
| 18 |
|
| 19 |
This library is free software; you can redistribute it and/or modify it |
| 20 |
under the same terms as Perl itself. |
| 21 |
|
| 22 |
SEE ALSO |
| 23 |
the CGI::Untaint manpage, the Email::Valid manpage |
| 24 |
|