HTML::...xRange(3pm)

πŸ“¦
version 2.07000 Β· 5 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– 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 the not() value. So don't try to flip it with not(), 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::Range and HTML::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> ✨


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