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

πŸ’– NAME πŸ’–

CGI::Test::Form::Widget::Button::Image β€” a nice submit button, bestie. Like, the glow-up version of a submit button. ✨


🌸 SYNOPSIS 🌸

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

my $send = $form->submit_by_name("send");
my $answer = $send->press;

✨ DESCRIPTION ✨

Okay so this class models an image button. Periodt.

Real talk: apart from the fact that it's probably nicer on a browser (aesthetic matters, iykyk πŸ’…), this widget otherwise behaves like your ordinary submit button. No secret lore, no extra drama. It's just the same thing but prettier.

Pressing it immediately triggers an HTTP request, as defined by the form. No waiting, no chill β€” it goes. πŸ”₯

The interface is the same as the one described in CGI::Test::Form::Widget::Button. Same energy, same vibes, no notes. 🫢


πŸ‘‘ 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) β€” the blueprint this one inherited its whole personality from. Go read it, bestie. πŸ“š


and that's the whole page!! 🌈 this lil doc is from perl v5.34.0, dated 2022-06-10 β€” slay, mwah πŸ’‹πŸŽ€