HTML::...xRange(3pm)
π NAME π
HTML::FormFu::Constraint::MaxRange β bestie, it's the Maximum Value Constraint β¨
It's a Perl man page (that's the 3pm part, iykyk), and it lives in the HTML::FormFu family. Say hi to your new fave little gatekeeper πΈ
π VERSION π
version 2.07 β that's the one we're on, no cap π
β¨ DESCRIPTION β¨
Okay so here's the vibe: this constraint checks the input value is equal to or less than a maximum value. That's it. That's the whole job. If the number is over the max, it's not serving, and it gets flagged π«
It also overrides localize_args in HTML::FormFu::Constraint, so that the value of maximum is passed as an argument to localize. Cute, right? The max value goes along for the localization ride π¦
Real talk though: this constraint doesn't honour thenot()value. So don't try to flip it withnot(), bestie, it's simply not picking up what you're putting down π
π METHODS π
πΈ maximum
πΈ max
The maximum input value. That's the ceiling, the limit, the "you shall not pass" number π₯
And max? max is an alias for maximum. Same energy, shorter name, iconic behavior π
π SEE ALSO π
- It is a sub-class of, and inherits methods from
HTML::FormFu::Constraint::RangeandHTML::FormFu::Constraintπ§ HTML::FormFuβ the main character itself β
π«Ά AUTHOR π«Ά
Carl Franks cfranks@cpan.org π
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. Slay, open source π
π«Ά AUTHOR π«Ά
Carl Franks <cpan@fireartist.com> β¨
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2018 by Carl Franks πΈ
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Periodt π
Sign-off time, bestie: this page came to you courtesy of perl v5.28.1, dated 2019-01-12, from the HTML::FormFu::Constraint::MaxRange manual page. Go check your max values, mwah π π¦
π¦ where this page comes from
- debian bookworm: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formfu-perl 2.07000-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