HTML::...Length(3pm)

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

✨ HTML::...Length πŸ’–

okay bestie, gather round, because this is HTML::FormFu::Constraint::Length and it is literally the min/max length police for your strings 🚨✨ (it lives in the 3pm section of the manual, iykyk πŸ“š)


🌸 VERSION 🌸

version 2.07 β€” she's grown, she's thriving πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she even do? She checks that the input value meets both a minimum and a maximum length. That's it. That's the whole job. And she does it flawlessly πŸ‘‘

⚠️ heads up bestie: this constraint does not honour the "not()" value. So don't come for her with a not(), she will not be participating πŸ™ˆ

πŸŽ€ METHODS πŸŽ€

minimum

min

The minimum input string length. πŸ“

"min" is an alias for "minimum" β€” same girl, different name, no cap 🫢


maximum

max

The maximum input string length. πŸ“

"max" is an alias for "maximum" β€” again, same energy, different spelling ✨


🌈 SEE ALSO 🌈

  • She's a sub-class of, and inherits methods from, HTML::FormFu::Constraint β€” so go read that too, bestie, the family tree is giving dynasty πŸ‘‘
  • HTML::FormFu β€” the mothership πŸ›Έ

πŸ’œ 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. πŸŽ‰ (yes, genuinely free, go wild but responsibly)


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


and that's the whole page, bestie πŸ’…βœ¨ she's from perl v5.28.1, dated 2019-01-12, and she ate and left no crumbs πŸŽ€πŸ¦‹ go forth and validate your string lengths, icon πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from