Form::...l::file(3pm)
π NAME π
Embperl::Form::Control::file β it's a file upload input control that lives inside an Embperl Form, bestie. That's the whole gig. Periodt. π
β¨ SYNOPSIS β¨
{
type => 'file',
text => 'blabla',
name => 'foo',
size => 10,
}
π¦ DESCRIPTION π¦
okay so lowkey the entire point of this thing is that it builds you a file upload control inside an Embperl Form. That's it. That's the vibe. πΈ
Want to know how to actually pass in params and stuff? Go read Embperl::Form, she explains all of it. Not me, not today. β¨
π PARAMETER π
typeβ this one has to be'file'. no cap, no other value, it's'file'or nothing. π₯nameβ the name of your upload control. that's how you'll refer to it, so pick something cute. πtextβ this gets used as the label for the file upload input control. it's giving "the words sitting next to the little button". πsizeβ gives the size, in characters. πmaxlengthβ gives the maximum length, in characters. don't go over it, she will notice. π
π Author π
G. Richter (richter at embperl dot org) β thank you queen, icon, legend. π«Ά
π See Also π
perl(1)EmbperlEmbperl::Form
iykyk, those are the ones to go read next. π
and that's a wrap on the file upload control, bestie! go forth and upload. π¦
this little page came to you from perl v5.34.0, dated 2022-02-06, and it belongs to Form::...l::file(3pm) β slay, bye! π
β¨
π¦ where this page comes from
- ubuntu jammy: libembperl-perl 2.5.0-16build1 Β· 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