HTML::...::Range(3pm)

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

✨ HTML::...::Range ✨

okay bestie, welcome to HTML::FormFu::Constraint::Range β€” it's a Numerical Range Constraint and it's literally here to make sure your numbers stay in their lane πŸ’… (this one lives in the User Contributed Perl Documentation section, iykyk)


🌸 VERSION 🌸

version 2.07 β€” she's grown, she's evolved, she's serving ✨


πŸŽ€ SYNOPSIS πŸŽ€

type: Range
min: 18
max: 35

that's it. that's the whole vibe. you say "hey, keep it between 18 and 35" and she does it. no cap 🫢


πŸ’– DESCRIPTION πŸ’–

Numerical range constraint. numbers only, bestie β€” she's checking that your value falls inside the range you set up 🌈

ngl, this constraint doesn't honour the not() value β€” so don't come at her expecting that to work, fr fr 😭

πŸ¦‹ METHODS πŸ¦‹

πŸ’œ minimum

πŸ’œ min

If defined, the input value must be equal to or greater than this. lowkey she's the floor, the bare minimum, the you shall not pass below this line energy πŸ‘‘

min is an alias for minimum. same girl, shorter name, iconic πŸ’…


🩷 maximum

🩷 max

If defined, the input value must be equal to or less than this. she's the ceiling, the cap, the okay that's enough bestie moment 🌸

max is an alias for maximum. two names, one queen πŸ‘‘


🌟 SEE ALSO 🌟

  • Is a sub-class of, and inherits methods from HTML::FormFu::Constraint β€” so like, she got it from her mama 🫢
  • HTML::FormFu

πŸ‘‘ 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. periodt. πŸ’–


πŸ’« 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. slay πŸ’…


cute lil sign-off: this page was rendered by perl v5.28.1 on 2019-01-12, and it's the HTML::...::Range(3pm) manual page β€” thanks for reading, bestie, go validate some numbers πŸ¦‹βœ¨
πŸ“¦ where this page comes from