HTML::...heckbox(3pm)
π HTML::Widget::Element::Checkbox π
okay bestie, so this is the manual for HTML::Widget::Element::Checkbox β yes that's the real module name, it lives in the HTML::Widget::Element::Checkbox family and it is literally the checkbox element. that's it. that's the whole vibe. β¨
β¨ SYNOPSIS β¨
here's how you actually use it, no gatekeeping:
my $e = $widget->element( 'Checkbox', 'foo' );
$e->comment('(Required)');
$e->label('Foo');
$e->checked('checked');
$e->value('bar');
look at that. clean. iconic. π
πΈ DESCRIPTION πΈ
Checkbox Element. yeah that's the entire description, she's brief but she's booked and busy. π
π¦ METHODS π¦
retain_default
if this is true, it overrides the default behaviour. so picture this: a field is missing from the form submission, right? normally the xml output would just be empty. but with retain_default set, the xml output will contain the default value instead. so it's giving "don't lose the default, babe" energy. π«Ά
new
yep. it's the constructor. she exists. π§
containerize
also here. also a method. also vibing. π
π SEE ALSO π
HTML::Widget::Elementβ the parent-figure situation, iykyk
π AUTHOR π
Sebastian Riedel, "sri@oook.de" β shoutout to the legend, we love a credited author fr fr.
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. so go forth, remix responsibly, and keep the license intact. periodt. π
also like, quick vibe check: the original page came from the User Contributed Perl Documentation, this doc was generated withperl v5.36.0, and the date on it is2023-08-10. π«
okay ily bye bestie, go check some boxes πΈπβ¨
π¦ 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