CGI::T...ssword(3pm)

πŸ“¦
version 1.111 Β· 2 versions
  • 1.111 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.111 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ CGI::Test::Form::Widget::Input::Password ✨

okay bestie, gather round, because today we're talking about CGI::Test::Form::Widget::Input::Password β€” a whole entire password field class, living its life in the Perl docs (3pm section, user contributed, as one does πŸ’…).


πŸŽ€ NAME πŸŽ€

CGI::Test::Form::Widget::Input::Password β€” a password field. that's it, that's the name, short and iconic 🫢


🌸 SYNOPSIS 🌸

so here's the vibe, fr fr:

# Inherits from CGI::Test::Form::Widget::Input
# $form is a CGI::Test::Form

my $passwd = $form->input_by_name("password");
$passwd->replace("foobar");

no cap, that's the whole thing. you grab it by name, you replace it. slay πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

so this class models a password field. and what even is that? it's a text field whose input gets masked by the browser β€” you know, the lil dots or asterisks situation ✨ β€” but other than that whole masking thing, it behaves exactly like a regular text field. same energy, different costume 🎭

and because it's literally just a text field underneath, the interface is the same as the one described in CGI::Test::Form::Widget::Input::Text_Field. so if you know that one, you already know this one. iykyk πŸ‘‘


πŸ’œ AUTHORS πŸ’œ

giving credit where credit is due, periodt:

  • The original author is Raphael Manfredi.
  • Steven Hilton was long time maintainer of this module.
  • Current maintainer is Alexander Tokarev <tokarev@cpan.org>.

we stan a maintained module 🫢


🌈 SEE ALSO 🌈

go read CGI::Test::Form::Widget::Input(3) bestie, it's the parent, it's the blueprint, it's the main character πŸ‘‘


lowkey important reminder: this whole page is documentation for perl v5.34.0, dated 2022-06-10, from the CGI::T...ssword(3pm) corner of the User Contributed Perl Documentation. mwah πŸ’‹ that's a wrap, go write some tests ✨πŸ’