HTML::...MinSize(3pm)
π 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 withnot()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::SizeHTML::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 π
π COPYRIGHT AND LICENSE π
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
- debian bookworm: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-formfu-perl 2.07000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms