Form::...l::show(3pm)
π Embperl::Form::Control::show β the vibe β¨
okay bestie, so this is Embperl::Form::Control::show, and it lives in the User Contributed Perl Documentation for Form::...l::show(3pm) π (the manual name is lowkey a mystery box of ellipses, but that's the one, iykyk). It's a text display control that sits inside an Embperl Form β display only, no typing, it's giving "look but don't touch" π
β¨ SYNOPSIS β¨
{
type => 'display',
text => 'blabla',
hidden => 1,
name => 'foo',
split => 1
}
that's it, that's the whole look πΈ
π DESCRIPTION π
So basically you use this to create a display only control inside an Embperl Form. Nothing to fill in, nothing to submit, just vibes and text on the screen π¦
For how to actually specify parameters in general, go check out Embperl::Form β it's the main character and this control is just a supporting role.
π«Ά PARAMETER
type
Needs to be set to 'show'. Like, it literally has to be that, no negotiating π
text
This one gets used as the label for the text display control. Your little caption moment β¨
value
The value to display. If you don't give one, $fdat{<name>} gets used instead β it'll go find it for you, so generous π«Ά
And plot twist: if the data you pass in value is an arrayref, then every element gets displayed on its own separate line. One per line, no crowding, everyone gets their moment π
hidden
If set, an appropriate hidden input field gets created automatically. Sneaky little field, doesn't show up in the UI but it's there doing its thing π
name
Will be used as the name for that hidden input field. Gotta name your children π
split
Splits the value into an array at \t if set, and displays every array element on a new line. Tab-separated in, line-separated out, a little glow-up π
splitlines
Splits the value into an array at \n if set, and displays every array element on a new line. Same energy as split, but for newlines β pick your fighter π§
π Author π
G. Richter (richter at embperl dot org), A. Beckert (beckert@ecos.de) β absolute icons, we stan π
πΈ See Also πΈ
perl(1)EmbperlEmbperl::Form
no cap, that's the whole page. every flag, every default, every tiny detail β preserved exactly, just with better lighting β¨
okay and for the cute sign-off bestie: this whole thing is perl v5.34.0, dated 2022-02-06, and it's Form::...l::show(3pm) β 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