Form::...l::file(3pm)

πŸ“¦
version 2.5.0 Β· 2 versions
, in ubuntu jammy

πŸ’… 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 🌟

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