Form::...assword(3pm)

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

✨ NAME ✨

Embperl::Form::Control::password β€” a password input control that lives inside an Embperl Form πŸ’– (that's the Form::...assword page from the perl v5.34.0 docs, bestie, we'll get to that)


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the whole vibe in one little hashref:

  {
  type => 'password',
  text => 'blabla',
  name => 'foo',
  size => 10,
  }

that's it. that's the control. slay πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So you wanna drop a password control into an Embperl Form? This is the one that does that, fr fr. 🫢

Wanna know how to actually pass params and all that jazz? Go read Embperl::Form β€” it's the main character here and it explains the whole parameter situation. iykyk ✨


🌸 PARAMETER 🌸

type

Has to be 'password'. Like, that's non-negotiable bestie. πŸ’€

name

Tells you the name of the control. iconic.

text

Gets used as the label for the text input control. so it's the little caption that says "hey, type your secret here". πŸŽ€

size

Gives the size in characters. that's the width of the box, not a limit on how much you can type, jsyk. πŸ“

retype_name

Name of the control that's used to repeat the password. πŸ” An automatic validation rule gets generated for you, so the two inputs have to be equal β€” no cap, it literally checks them against each other. if they don't match, that's a vibe check failure. 😭

maxlength

Gives the maximun length in characters. (yes, "maximun" β€” that's the original spelling, we keep the facts EXACTLY as they are, typos and all, that's the rule πŸ’œ) So it caps how many characters you can put in. πŸ“


πŸ‘‘ Author πŸ‘‘

G. Richter (richter at embperl dot org) β€” the legend, the icon, the moment. 🫢


🌈 See Also 🌈


and that's a wrap on Form::...assword(3pm) πŸ’– this whole thing is from perl v5.34.0, dated 2022-02-06, and it's part of the User Contributed Perl Documentation. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from