HTML::...e::CGI(3pm)

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

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


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