HTML::...nt::Any(3pm)
π HTML::Widget::Constraint::Any β the "any of y'all" constraint π
okay so bestie, you know HTML::Widget::Constraint::Any? it's from HTML::Widget, and it lives in the Constraint::Any slot of the module family. it's a perl manual page, version perl v5.36.0, and it is SO much simpler than it sounds. let's go π«Ά
β¨ NAME β¨
HTML::Widget::Constraint::Any β the Any Constraint. that's it, that's the name, iconic π
πΈ SYNOPSIS πΈ
my $c = $widget->constraint( 'Any', 'foo', 'bar' );
look at her. two fields, one constraint, zero drama β¨
π¦ DESCRIPTION π¦
One or more of the named fields must be present. π
that's the whole vibe check, fr fr. if you name a bunch of fields, at least ONE of them has to show up. not all of them, not none of them β one or more. periodt.
π METHODS π
process
no extra notes on this one in the original, bestie. it's just listed here, so i'm not gonna make stuff up about it π
default_message
same energy β listed, no description given. she's mysterious, she's lowkey, we respect her π
render_errors
Arguments: @names
A list of element names for which an error should be displayed.
If this is not set, the default behaviour is for the error to be displayed for all of the Constraint's named elements.
so basically: if you don't tell her where to put the error, she's gonna put it on every single one of the constraint's named elements. no cap. if you DO pass @names, she only shows the error on those. choose wisely, bestie π
π AUTHOR π
Sebastian Riedel, sri@oook.de β thank you king π
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page!! no missing flags, no skipped sections, everything exactly where it belongs π
this was HTML::...nt::Any(3pm) from the perl v5.36.0 manual set, dated 2023-08-10 β written by the User Contributed Perl Documentation crew. love that for us π¦β¨
π¦ 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