HTML::...MaxSize(3pm)
π HTML::...MaxSize(3pm) π
okay bestie, welcome to the HTML::...MaxSize page β it's part of the User Contributed Perl Documentation, it lives in section 3pm, and it's literally here to make sure nobody uploads a whole 4K movie when you asked for a profile pic. π
β¨ NAME β¨
HTML::FormFu::Constraint::File::MaxSize β Maximum File Size Constraint π
πΈ VERSION πΈ
version 2.07 β yes queen, we're on 2.07, write it down. π¦
π DESCRIPTION π
So what does it do? It makes sure that an uploaded file meets maximum size constraints. That's the whole vibe. If it's too chonky, it does not slay, it does not pass. π
It overrides localize_args in HTML::FormFu::Constraint, so that the value of maximum gets passed as an argument to localize. iykyk β that's just how it feeds the number into the localisation. β¨
π¨ heads up bestie: this constraint doesn't honour the not() value. Not a drill, not a bug you can argue with β it just doesn't. periodt.
π«Ά METHODS π«Ά
π maximum
π max
The maximum file size, measured in bytes. π
max is an alias for maximum β same energy, shorter name, pick whichever one fits your mood. πβοΈ
π SEE ALSO π
It's a sub-class of, and inherits methods from, HTML::FormFu::Constraint::File::Size and HTML::FormFu::Constraint. π
Also: HTML::FormFu β the whole mothership, go say hi. πΈ
π 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. πͺβ¨
π AUTHOR (yes, again, we love a double feature) π
Carl Franks <cpan@fireartist.com>
π COPYRIGHT AND LICENSE π
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. π«Ά
okay that's the whole page, no notes, you ate. π
and for the cute sign-off: this was rendered by perl v5.28.1 on 2019-01-12, under the title HTML::...MaxSize(3pm) β iconic, historic, bye bestie! πΈπ¦π
π¦ 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