1CGI::Untaint::email(3)User Contributed Perl DocumentationCGI::Untaint::email(3)
2
3
4
6 CGI::Untaint::email - validate an email address
7
9 use CGI::Untaint;
10 my $handler = CGI::Untaint->new($q->Vars);
11
12 my $email = $handler->extract(-as_email => 'emailaddress');
13
15 CGI::Untaint::email input handler verifies that it is a valid RFC2822
16 mailbox format.
17
18 The resulting value will be a Mail::Address instance.
19
21 Tatsuhiko Miyagawa <miyagawa@bulknews.net>
22
23 This library is free software; you can redistribute it and/or modify it
24 under the same terms as Perl itself.
25
27 CGI::Untaint, Email::Valid
28
29
30
31perl v5.32.0 2020-07-28 CGI::Untaint::email(3)