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

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

πŸ’– Embperl::Form::Control::age β€” the vibe check πŸ’–

okay bestie, so this whole page lives in the User Contributed Perl Documentation section of the manual, and it's all about a lil Perl module called Embperl::Form::Control::age β€” which is, and I cannot stress this enough, a age input control with optional unit inside an Embperl Form ✨


🌸 NAME 🌸

Embperl::Form::Control::age β€” a age input control with optional unit inside an Embperl Form πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

literally just this, bestie:

{
type => 'age',
text => 'blabla',
name => 'foo',
unit => 'sec',
}

✨ DESCRIPTION ✨

So what does it even do? It's used to create an age input control inside an Embperl Form. Periodt.

It will format date as days:hours:minutes from current time. πŸ•°οΈ Lowkey iconic.

Optionally β€” and this is the fun part β€” it can display an unit after the input field. πŸ’…

If you wanna know how to specify parameters in general, go read Embperl::Form, that's the main character for that whole situation. 🫢

πŸŽ€ PARAMETER πŸŽ€

  • type β€” needs to be 'age'. That's it. That's the whole job. πŸ‘‘
  • name β€” specifies the name of the control. gotta name ur baby fr fr.
  • text β€” will be used as the label for the numeric input control. so it's the little caption that tells everyone what they're looking at. 🏷️
  • size β€” gives the size in characters. (Default: 10) πŸ“
  • maxlength β€” gives the maximun length in characters. (yes bestie, "maximun" β€” we are quoting the source, no cap, don't come for me 😭)
  • unit β€” gives a string that should be displayed right of the input field. ( 🀨 (that stray open paren is literally just sitting there in the original and I refuse to gaslight you about it β€” I'm not adding or removing anything, that's what it says)

🌈 Author 🌈

G. Richter (richter at embperl dot org) β€” the icon who wrote this. we stan. πŸ‘‘


πŸ‘‘ See Also πŸ‘‘

like, go read those too, they're the supporting cast. πŸ’œ


and that's the whole page bestie, no notes, slay πŸ’…βœ¨

this was perl v5.34.0, dated 2022-02-06, straight out of the User Contributed Perl Documentation β€” ty for coming to my ted talk, mwah πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from