in reply to some advice...

CGI::FormBuilder is an answer to your problem, but not to your question.

You still need to feed it the hashref of value => label, but it will do all the icky HTML whatnot for you.

HTH

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;