HTML::...MinSize(3pm)

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

πŸ’– HTML::...MinSize(3pm) πŸ’–

okay bestie, you found it β€” the HTML::FormFu::Constraint::File::MinSize page, straight out of the User Contributed Perl Documentation. it's giving "your uploads need to be THICC enough" and honestly? iconic. let's get into it 🫢


✨ NAME ✨

HTML::FormFu::Constraint::File::MinSize β€” the Minimum File Size Constraint. that's her. that's the whole name. slay πŸ’…


🌸 VERSION 🌸

version 2.07 β€” yes, that's the version, no notes πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? she makes sure that an uploaded file meets minimum size constraints. like, if someone tries to sneak in a tiny little file that's too small, this constraint is gonna notice. no cap πŸ“

here's the tea though, and it's important tea: she overrides "localize_args" in HTML::FormFu::Constraint, so that the value of "minimum" gets passed as an argument to localize. that's the whole point of the override, bestie. iykyk ✨

⚠️ also, heads up: this constraint doesn't honour the "not()" value. so don't come for her with not() and expect it to work. it simply will not. πŸ’€

πŸ‘‘ METHODS πŸ‘‘

πŸ’œ minimum

πŸ’œ min

the minimum file size, measured in bytes. that's it, that's the number. if your file is smaller than this, it's not making it through the vibe check 🌈

and "min"? she's just an alias for "minimum". same girl, different name, both valid, both serving 🫢


πŸ”₯ SEE ALSO πŸ”₯

she's a sub-class, which means she inherits methods from these queens:

  • HTML::FormFu::File::Size
  • HTML::FormFu::Constraint

and also, you know, the whole entire parent situation:

  • HTML::FormFu

go read those too, bestie, they're the lore πŸ“š


🧚 AUTHOR 🧚

Carl Franks "cfranks@cpan.org" β€” thank you for your service πŸŽ€


⭐ LICENSE ⭐

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. so like, go off, but respect the terms, periodt πŸ’…


🌟 AUTHOR 🌟

Carl Franks <cpan@fireartist.com> β€” again, because legends get listed twice πŸ‘‘


This software is copyright (c) 2018 by Carl Franks. (twenty eighteen, mark it down)

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, those are the terms, that's the deal πŸ¦‹


and that's the page, bestie!! perl v5.28.1, dated 2019-01-12, and it's the HTML::...MinSize(3pm) manpage, now with 100% more sparkle and 0% fewer facts. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from