print '<li>[id://'."$_]\n"
for qw(
23423
33464
54481
65977
78900
166906
80290
);
There is tons of other ways to do it using other modules (and without any), including but definetly not limited to, Template,HTML::Template ... you'll most likely use DBI for the database part.
If the forementioned nodes don't help you out, post some code, and we'll try and see what's up.
____________________________________________________ ** The Third rule of perl club is a statement of fact: pod is sexy. | [reply] [d/l] |
I was working with this yesterday and the only reliable solution I could find was to manipulate the HTML using perl or in my case php. You just have to write a script that will build the HTML based upon your list and then have it stick in the SELECTED option when it comes to the desired one. I tried manipulating the DOM to do this also so that I could reselect on the fly, but this just wasn't worth the effort. I dare say it could be done. | [reply] |
HTML::FillInForm solves this problem of populating the
fields in a HTML form, including option tags.
(There is a perl module for almost anything on CPAN!) It is pretty easy to use, and doesn't require CGI.pm. | [reply] |