CGI::T...:Reset(3pm)
π CGI::Test::Form::Widget::Button::Reset β bestie edition π
okay so this page is CGI::Test::Form::Widget::Button::Reset(3pm), from the User Contributed Perl Documentation collection, and it is literally just about one tiny little guy: a reset button. π
β¨ NAME β¨
CGI::Test::Form::Widget::Button::Reset β A reset button π¦
β¨ SYNOPSIS β¨
# Inherits from CGI::Test::Form::Widget::Button
# $form is a CGI::Test::Form
my @reset = $form->buttons_matching(sub { $_[0]->is_reset });
$reset[0]->press if @reset;
β¨ DESCRIPTION β¨
So this class models a reset button, periodt. π When you press this button it immediately resets the form right back to its original state, no cap.
And the important thing, bestie, listen: the processing is done on the client-side, and no request is made to the HTTP server. It's giving totally local, off the grid, nobody even knows. π
The interface is the same as the one described in CGI::Test::Form::Widget::Button. Same vibe, same energy, nothing new to learn. π«Ά
β¨ AUTHORS β¨
- The original author is Raphael Manfredi.
- Steven Hilton was long time maintainer of this module.
- Current maintainer is Alexander Tokarev
<tokarev@cpan.org>.
β¨ SEE ALSO β¨
CGI::Test::Form::Widget::Button(3)β go read that one too, it's the parent and it has all the actual interface deets. π
ok that's the whole page, it was short and sweet and I'm obsessed with it actually πΈ
and for the cute sign-off: this was perl v5.34.0, dated 2022-06-10, filed under the CGI::T...:Reset(3pm) name in the User Contributed Perl Documentation. bye bestie, go press a reset button πβ¨
π¦ 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