Weasel...ectable(3pm)
π Weasel::Widgets::HTML::Selectable π
okay so bestie, welcome to the glow-up docs for Weasel::Widgets::HTML::Selectable β it's a wrapper for selectable elements, and it lives in the perl section 3pm of the manual (User Contributed Perl Documentation, to be exact). she's niche, she's useful, she's giving quiet luxury π
β¨ VERSION β¨
version 0.32 β yeah she's on 0.32, no cap π
πΈ SYNOPSIS πΈ
my $selectable = $session->page->find('./option');
$selectable->selected(1); # select option
literally that's it, that's the whole vibe. find your option, set selected to 1, boom β selected. periodt β¨
π¦ DESCRIPTION π¦
bestieβ¦ it's empty. the DESCRIPTION section said absolutely nothing. iconic behaviour honestly, she let the methods speak for themselves π«Ά
π DEPENDENCIES π
also empty!! no dependencies listed, she's self-sufficient, main character energy only π
π SUBROUTINES/METHODS π
selected([$value])β hands you back the selected status of the element. and if you pass in$value? she sets the selected status. so it's a getter AND a setter, she contains multitudes πβ¨value([$new_value])β gives you the value of the'value'attribute. but here's the tea π: when the element is not selected, the'value'attribute gets overruled and she returns"false"β which is an empty string. so like, not selected = empty string, not the actual attribute value. remember that, iykyk π
π AUTHOR π
Erik Huelsmann π
π CONTRIBUTORS π
- Erik Huelsmann
- Yves Lavoie
two legends, we stan π«Ά
π MAINTAINERS π
Erik Huelsmann β holding it down π
π BUGS AND LIMITATIONS π
got bugs? not on my watch bestie. file them in the GitHub issue tracker for the Weasel project:
https://github.com/perl-weasel/weasel/issues
fr fr, if something's broken, put it in the tracker so it actually gets fixed π
β SOURCE β
the source code repository for Weasel lives at:
https://github.com/perl-weasel/weasel
go read the source, it's giving transparency π¦
π§ SUPPORT π§
community support is available through:
perl-weasel@googlegroups.com
or if you're fancy, <mailto:perl-weasel@googlegroups.com> πΈ the perl-weasel community has your back, no cap π
π LICENSE AND COPYRIGHT π
(C) 2016-2023 Erik Huelsmann
Licensed under the same terms as Perl. so like, same rules as perl itself, we love a consistent queen π
and that's the whole page bestie!! this was Weasel...ectable(3pm) from the User Contributed Perl Documentation, perl v5.40.1, dated 2025-05-24. slay, go select something, mwah πβ¨π
π¦ where this page comes from
- debian trixie: libweasel-perl 0.32-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libweasel-perl 0.32-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libweasel-perl 0.32-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