Form::...:price(3pm)
πΈ Embperl::Form::Control::price β the whole vibe β¨
okay bestie, listen. This is the manpage Form::...:price(3pm) from the User Contributed Perl Documentation, and it's literally the glow-up your Embperl form needed: a price input control, with an optional unit chillin' right there inside it. π
πΈ NAME πΈ
Embperl::Form::Control::price β a price input control with optional unit inside an Embperl Form π
π¦ SYNOPSIS π¦
Here's the whole lewk, verbatim, no edits:
{
type => 'price',
text => 'blabla',
name => 'foo',
unit => 'sec',
}
β¨ DESCRIPTION β¨
So what does it do, bestie? It creates a price input control inside an Embperl Form. It will format the number as a money ammount π° (yes, "ammount", that's the original spelling, we don't touch the text fr fr). And optionally? It can display a unit after the input field. Iconic. π
Wanna know how to specify parameters in general? Go see Embperl::Form. That's the main character. π
π«Ά PARAMETER π«Ά
type
Needs to be 'price'. That's the whole requirement. No notes. π
name
Specifies the name of the control. Name her. She deserves it. β¨
text
Will be used as label for the numeric input control. It's giving β¨label energyβ¨.
size
Gives the size in characters. (Default: 10)
maxlength
Gives the maximun length in characters. (That's the original spelling again β maximun β we keep the facts exactly as they are, no cap. π§)
unit
Gives a string that should be displayed right of the input field. (Default: ) β yes, empty. Nothing. A little void. π³οΈ
use_comma
If set, the decimal character is a comma instead of a point. (Default: on) π
π Author π
G. Richter (richter at embperl dot org) β thank you for your service, king π«‘π
π See Also π
perl(1)EmbperlEmbperl::Form
lowkey reminder: those three references above are the actual SEE ALSO list, character for character. iykyk. π₯
and that's the whole page, bestie π this was perl v5.34.0, dated 2022-02-06, and honestly? she ate. periodt. π
β¨π¦πΈ
π¦ 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