HTML::...e::CGI(3pm)
π NAME π
HTML::FormFu::QueryType::CGI β bestie, it's an uploaded file. That's the whole gig. She's the CGI-flavoured query type that carries your upload around π
β¨ VERSION β¨
version 2.07 π
πΈ METHODS πΈ
Okay so here's everything she can do for you, no cap:
π¦ headers
As of HTML::FormFu version 0.02004, this returns a HTTP::Headers object. π«Ά
- Previously returned a hashref of values.
(yeah she had a glow-up, we love growth π)
π¦ filename
Returns the browser-submitted filename of the local file.
Like, the name your browser said it was. Not necessarily the truth, just the vibe the browser was giving πβ¨
π¦ fh
Returns a read-only filehandle.
Read-only, bestie. She's not letting you write. Boundaries π
π¦ slurp
Returns the contents of the uploaded file.
The whole thing. Slurped. ππ
π¦ size
A shortcut for $upload->headers->content_length.
Returns the size of the uploaded file in bytes.
π¦ type
A shortcut for $upload->headers->content_type.
Returns the browser-submitted Content-Type of the uploaded file.
Again β browser-submitted. She's just reporting what she was told π iykyk
π₯ SEE ALSO π₯
- Is a sub-class of, and inherits methods from
HTML::FormFu::Upload HTML::FormFu,HTML::FormFu::Element::File
π 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 π
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, you ate that π«Ά
this was perl v5.28.1, dated 2019-01-12, and yeah β the header up top really does say HTML::...e::CGI(3pm), she's mysterious like that πβ¨
π¦ 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