Weasel...ectable(3pm)

πŸ“¦
version 0.32 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ’œ


 (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