HTML::...:Email(3pm)
π HTML::FormFu::Element::Email π
okay bestie, so this page is the manual for HTML::FormFu::Element::Email, straight outta the User Contributed Perl Documentation collection. it's the HTML5 email form field, and it's literally so good. let's get into it β¨
β¨ NAME β¨
HTML::FormFu::Element::Email β the HTML5 email form field, periodt π
π VERSION π
version 2.07 β that's the vibe, that's the number, no cap.
π¦ SYNOPSIS π¦
my $element = $form->element( Email => 'foo' );
# no need to add a separate Constraint::Email
okay so that's it. that's the whole thing. you make the element, you're done, the constraint handles itself like the independent main character it is π
πΈ DESCRIPTION πΈ
so this is an HTML5 email form field, and the way it works is it gives you native client-side validation in modern browsers. like, the browser itself does the checking, no extra setup needed from you. iconic behavior honestly π«Ά
what it actually creates is an input field with <type="email">. yes that exact attribute, don't come for me.
and here's the slay part: this element automatically adds an Email constraint, so you don't have to. the constraint is just there. it's giving built-in bestie energy. you literally never have to think about it ππ
β SEE ALSO β
- this thing is a sub-class of, and inherits methods from,
HTML::FormFu::Role::Element::Input,HTML::FormFu::Role::Element::Field, andHTML::FormFu::Elementβ so all their methods are yours too, iykyk HTML::FormFuβ the whole parent situation, go check it out
π AUTHOR π
Carl Franks, cfranks@cpan.org β the legend himself β¨
π LICENSE π
this library is free software, so you can redistribute it and/or modify it under the same terms as Perl itself. go wild, respectfully π
π AUTHOR (yes, again) π
Carl Franks <cpan@fireartist.com> β same icon, second email address, we love a two-email situation π
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2018 by Carl Franks.
it's free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt π
and that's the whole page bestie, we ate and left no crumbs π
sign-off vibes: this was generated for perl v5.28.1, dated 2019-01-12, and it's the manual page for HTML::...:Email(3pm) β mwah, bye π§π
π¦ 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