CGI::T...:Reset(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::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 ✨


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 πŸ’œβœ¨