HTML::...::Email(3pm)
π NAME π
HTML::FormFu::Constraint::Email β the Email Address Constraint, aka the little bouncer at the club door checking that your input is actually an email address π
β¨ VERSION β¨
version 2.07 β yes bestie, we're on 2.07, that's the one π
π¦ DESCRIPTION π¦
Okay so here's the tea β: this constraint checks whether the input value is an email address, and it does that according to the "address" method of Email::Valid. That's it, that's the whole vibe check. No cap. π
πΈ METHODS πΈ
π options π
Arguments: $string
Arguments: \@strings
Arguments: \%keypairs
So here's how this works, bestie β your options get passed straight through to Email::Valid. You've got three flavours of flex here:
- drop in a single option or an array, and each option gets passed through as
'true'β - use a hash instead and you can pass through way more specific key-pair options π₯
- either way, remember to leave off the leading dash that you'd otherwise need if you were calling
Email::Validdirectly π«
Like so, gorgeous:
type: Email
options:
- macheck
- tldcheck
- fudge
- fqdn
- allow_ip
- local_rules
π SEE ALSO π
- This is a sub-class of, and inherits methods from,
HTML::FormFu::Constraintπ«Ά - The available options are as per
Email::Validbut without the'-'β¨
π AUTHOR π
Carl Franks "cfranks@cpan.org", Dean Hamstead "dean@bytefoundry.com.au" π
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. Slay. Periodt. π
π AUTHOR π
Carl Franks <cpan@fireartist.com>
β COPYRIGHT AND LICENSE β
This software is copyright (c) 2018 by Carl Franks.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πΈ
okay that's the whole page bestie, no notes, you ate π This lil masterpiece was brought to you by perl v5.28.1, dated 2019-01-12, and documented under HTML::...::Email(3pm) β go forth and validate those emails, icon π¦β¨π
π¦ where this page comes from
- debian bookworm: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms