HTML::...assword(3pm)
π HTML::Widget::Element::Password β the tea β
okay bestie, so this is a page from the User Contributed Perl Documentation for perl, and the module we're talking about is HTML::Widget::Element::Password. yes that's a mouthful, we're calling it the Password Element from here on. it's giving form field, but make it perl. π
β¨ NAME β¨
HTML::Widget::Element::Password β the Password Element, fr fr. π¦
πΈ SYNOPSIS πΈ
here's how you'd actually use it, no gatekeeping:
my $e = $widget->element( 'Password', 'foo' );
$e->comment('(Required)');
$e->fill(1);
$e->label('Foo');
$e->size(23);
$e->value('bar');
like, you grab the element off the widget, slap a comment on it, tell it to fill, give it a label, set the size, set the value. iconic behaviour, honestly. π
π DESCRIPTION π
Password Element. that's it, that's the description. short and mysterious, main character energy. π
β METHODS β
π retain_default
if this is true, it overrides the default behaviour β so when a field is missing from the form submission, the xml output will contain the default value instead of being empty. lowkey a lifesaver, ngl. π
π§ containerize
(it's listed here, bestie β that's the whole entry, no extra lore attached. π)
π SEE ALSO π
HTML::Widget::Elementβ go read that one too, iykyk. π¦
π«Ά AUTHOR π«Ά
Sebastian Riedel, sri@oook.de β shoutout to the legend who made this. β¨
π LICENSE π
this library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. slay, open source stays winning. π
π and that's the whole page bestie β no cap, every last flag and line is right here.
so yeah, this was pulled from the perl v5.36.0 docs, dated 2023-08-10, and it lives under HTML::...assword(3pm) in the User Contributed Perl Documentation. mwah, go build something cute with it. ππβ¨
π¦ where this page comes from
- debian trixie: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-widget-perl 1.11-7 Β· 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