Form::...:input(3pm)
π NAME π
Embperl::Form::Control::input β it's literally a text input control that lives inside an Embperl Form, bestie β¨
πΈ SYNOPSIS πΈ
{
type => 'input',
text => 'blabla',
name => 'foo',
size => 10,
maxlength => 50,
}
look at that little hashref go π she's small, she's cute, she's about to render you a whole text box.
π¦ DESCRIPTION π¦
So, what's the vibe? You use this thing to create an input control inside an Embperl Form. That's it, that's the whole job, and she does it flawlessly π
Not sure how to even specify parameters in the first place?</purl> Go read Embperl::Form β that's where all the deets live. iykyk π«Ά
β¨ PARAMETER β¨
okay here's the roster of params, one by one, no gatekeeping π
typeβ needs to be'input'. Like, it has to be. No negotiating, no alternatives, that's the assignment. periodt πnameβ specifies the name of the control. iconic behaviour, every control needs a name.textβ will be used as the label for the text input control. so like, the little caption that tells everyone what they're typing into π·οΈsizeβ gives the size in characters. how wide is she gonna be, bestie πmaxlengthβ gives the maximum possible input length in characters. the hard limit, the ceiling, the "no more than this" βclassβ alternative CSS class name. for when you wanna dress her up different than the default fit π
π Author π
G. Richter (richter at embperl dot org) β the actual main character who made this happen, we stan π
π§ See Also π§
perl(1)EmbperlEmbperl::Form
go read those too, they're giving very much essential context π
lowkey a whole text input control in like six params?? we love an efficient queen π
okay that's the page!! this was documented with perl v5.34.0 back on 2022-02-06, mwah, bye bestie πβ¨ππ¦πΈπ π«Ά
π¦ 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