On Apr 13, 2010, at 1:00 AM, Fabian Gut wrote:
Is this what you want?
print $Q->submit(-name=>'start_button',
-label=>'Start Button');
No, that produces <input type="submit".......>
What I want is something like this:
<button>foo</button>
I look at the source code for the latest version of CGI.pm and did not
find support for that tag.
You have other options. You can always write your own sub-routine to
create the tags you want, and you can even use a local copy of CGI.pm
and add a subroutine (function) to it so you can use the syntax you
want. It's really pretty easy to do.
Kindest Regards,
--
Bill Stephenson
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/