More Perl – I’m Stumped

I’ve been making good progress on modifying the CGI scripts today, but I think I just hit the most difficult one. The workshop evaluation page is made up of over 100 different radio buttons, along with several drop-down menus. The problem I’ve run into is that the portion of the page with all of the radio buttons is being dynamically created with a loop. I can’t think of a good way of creating the unique “id” attribute required for each form element. I may have to save this one until last…

On a better note, I did some research and found out what the CGI.pm library does. This has made understanding the CGIs a lot easier, as almost all of them utilize this library to some extent. I haven’t dug too deep into it, but it looks similar to PHP PEAR’s HTML_QuickForm, letting you generate forms on the fly. I will have to do more reading!

Close Menu