HTML::...:Upload(3pm)
π HTML::Widget::Element::Upload β the Upload Element, bestie π
okay so this is HTML::Widget::Element::Upload, aka the Upload Element, straight out of the HTML::Widget family. It's a Perl module, it lives on your system as a 3pm page, and it is lowkey iconic. Let's get into it π
β¨ NAME β¨
HTML::Widget::Element::Upload β Upload Element π¦
πΈ SYNOPSIS πΈ
Here's the vibe, in code, verbatim, no cap:
my $e = $widget->element( 'Upload', 'foo' );
$e->comment('(Required)');
$e->label('Foo');
$e->accept('text/html');
$e->maxlength(1000);
$e->size(23);
look at her go π
π¦ DESCRIPTION π¦
It's an Upload Element. That's the whole thing, she's serving simplicity β¨
the way that adding an Upload element automatically calls $widget->enctype('multipart/form-data') for you?? not me being obsessed with a module doing my homework for me π bestie behaviour fr fr
π METHODS π
π accept
Arguments: $type
A comma-separated list of media types, as per RFC2045. So like, you hand her the types she's allowed to accept and she's like "say less" π
π prepare
no arguments listed here, she just exists and does her thing β¨
π containerize
same energy β no arguments listed, just a method doing method things π¦
π SEE ALSO π
HTML::Widget::Elementβ go say hi to the rest of the fam π«Ά
πΈ AUTHOR πΈ
Sebastian Riedel, sri@oook.de π
π LICENSE π
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. π
and that's the whole page, bestie π«Ά this lil doc shipped with perl v5.36.0 and was dated 2023-08-10 β slay, periodt π β¨π
π¦ where this page comes from
- debian trixie: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-widget-perl 1.11-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-widget-perl 1.11-7 Β· 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