HTML::...::Range(3pm)
π HTML::...::Range π
okay bestie, so this is the manual page for HTML::...::Range(3pm) β part of the Perl docs, filed under User Contributed Perl Documentation. It's a lil' range constraint for widgets and it's honestly so cute and so simple. Let's get into it π¦
β¨ NAME β¨
HTML::Widget::Constraint::Range β Range Constraint. that's the whole name, no cap π
β¨ SYNOPSIS β¨
here's the vibe, exactly as written:
my $c = $widget->constraint( 'Range', 'foo' );
$c->min(23);
$c->max(30);
so you grab a constraint off your $widget with 'Range' and the name 'foo', then you set a min and a max and you're literally done. main character energy β¨
β¨ DESCRIPTION β¨
Range Constraint. That's it. That's the description. Short queen behavior, we respect it π
β¨ METHODS β¨
three methods, one per bullet-ish moment, here we go π«Ά
maximum
Arguments: $max_value β you hand it the top of your range. the ceiling. the limit. the "no further than this" π
minimum
Arguments: $min_value β and this one's the floor of your range. the "nothing below this" β¨
validate
okay so the page lists validate as a method but gives it zero arguments and zero description. not me being tempted to make stuff up π β bestie, we do NOT invent facts around here. It's listed, that's what the docs say, and that's what you get π
β¨ AUTHOR β¨
Sebastian Riedel, sri@oook.de π iconic, we stan.
β¨ LICENSE β¨
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. so go off, remix it, it's giving open source ππ
fr fr, quick recap so you don't have to scroll:HTML::Widget::Constraint::Range, a Range Constraint, built with$widget->constraint( 'Range', 'foo' ), tuned with->min(23)and->max(30), methods aremaximum(takes$max_value),minimum(takes$min_value) andvalidate(takes, uh, nothing documented). That's the whole thing bestie π
and that's a wrap on this page, babes β it came from perl v5.36.0, dated 2023-08-10, and it's filed under HTML::...::Range(3pm). periodt. π¦πΈ
π¦ 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