I was thinking that "maybe" I might start as a side project a module that would parse (at least the majority of..) well formed HTML and output the perl code to replicate the html using CGI.pm's shortcuts.As a start, you could look at my column that does exactly that.
At the moment though, it outputs literally the shortcuts to generate exactly the same HTML, and doesn't recognize some of the higher-level form elements, like checkbox_group. Instead, you'll get all the individual input element calls. That's worthy of figuring out how to fix.
-- Randal L. Schwartz, Perl hacker
In reply to Re: CGI.pm HTML shortcuts, Better Way?
by merlyn
in thread CGI.pm HTML shortcuts, Better Way?
by shotgunefx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |