CGI::T...ssword(3pm)
β¨ 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 β¨π
π¦ where this page comes from
- debian bookworm: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- debian trixie: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- ubuntu noble: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- ubuntu resolute: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- ubuntu stonking: libcgi-test-perl 1.111-2 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms