Re: <button> tag?
[email protected] (Bill Stephenson) Tue, 13 Apr 2010 09:46:46 -0500
| Newsgroups | perl.beginners.cgi |
|---|---|
| Message-ID | <[email protected]> |
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