I usually just query the DB.
Then loop through the results and do a print
Before and after the loop don't forget to put the <select> tags.
If you can figure out HTML::Mason it might work. I've never used it, so I really can't comment on it.
Edit: Can someone tell me how to display square brackets without PM thinking they're a weird link or something. Thanks.