HTML::...xLength(3pm)

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

✨ NAME ✨

HTML::FormFu::Constraint::MaxLength β€” the Maximum Length String Constraint, bestie πŸ’– (this is the page for HTML::...xLength(3pm), and yes the header truncated it, it's giving ctrl-c energy but we move)


🌸 VERSION 🌸

version 2.07 β€” she's vintage, she's stable, she ate 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this constraint checks that the input value meets a maximum length. That's the whole job. It's not doing side quests πŸ’…

It overrides localize_args in HTML::FormFu::Constraint, so that the value of maximum gets passed as an argument to localize. So like, the number you set is what localize sees. Iconic teamwork, no cap ✨

Heads up bestie: this constraint doesn't honour the not() value. It just does not. It said "not today" 😭 so don't come for her when not() does nothing here, that's documented behaviour fr fr.

πŸŽ€ METHODS πŸŽ€

maximum, max

The maximum input string length. That's it, that's the vibe 🌈

max is an alias for maximum β€” same thing, different outfit πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

She's a sub-class of, and inherits methods from, these queens:

  • HTML::FormFu::Constraint::Length
  • HTML::FormFu::Constraint

And also, obviously:

  • HTML::FormFu

Go read them, iykyk 🧚


πŸ’– AUTHOR πŸ’–

Carl Franks cfranks@cpan.org β€” shoutout to the author, main character energy fr 🌟


🌸 LICENSE 🌸

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. Free is free bestie, take it and go ✨


πŸ’– AUTHOR (yes, again πŸ’€) πŸ’–

Carl Franks <cpan@fireartist.com> β€” same icon, different email, we love a double feature πŸŽ€


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


okay and that's the page!! πŸ’œ this was perl v5.28.1 and the date on it was 2019-01-12 β€” so she's been out here slaying since 2019, no cap 🌸 bye bestie, go set your maximum and live your truth πŸ¦‹βœ¨

πŸ“¦ where this page comes from