CGI::Untaint::email - validate an email address
use CGI::Untaint; my $handler = CGI::Untaint->new($q->Vars); my $email = $handler->extract(-as_email => 'emailaddress');
CGI::Untaint::email input handler verifies that it is a valid RFC2822 mailbox format.
The resulting value will be a Mail::Address instance.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
CGI::Untaint, Email::Valid
To install CGI::Untaint::email, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Untaint::email
CPAN shell
perl -MCPAN -e shell install CGI::Untaint::email
For more information on module installation, please visit the detailed CPAN module installation guide.