in reply to Re: CGI.pm HTML shortcuts, Better Way?
in thread CGI.pm HTML shortcuts, Better Way?
I've got the <Select> and <option> tags fixed as well.
(It's not pretty but it works) It took me awhile to wrap my head around the recursive nature of the code.
Your code works great. I was able to take a 40 parameter form which is subtabled at least three levels and it worked perfectly. Also for kicks I grabbed a few pages off of Perlmonks and the script generated Perl output it back perfectly. It'll save me a lot of time.
I'll probably add the creation of the %option_labels as well. It's a short jump from where it is. Nothing too crazy. (Don't think I'll bother checking for duplicate dissimilar params or anything.) When this is done would you mind if I posted it?
-Lee
"To be civilized is to deny one's nature."