logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CGI::Untaint::email - validate an email address

Author

       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.

Description

       CGI::Untaint::email input handler verifies that it is a valid RFC2822 mailbox format.

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

Name

       CGI::Untaint::email - validate an email address

See Also

       CGI::Untaint, Email::Valid

perl v5.34.0                                       2022-06-10                           CGI::Untaint::email(3pm)

Synopsis

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

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

See Also