in reply to Select form Hell!

I think what you're trying to do is this:
$test="<select><option>City Name</option>"; foreach $city (sort @cities){ $test .= "<option value=".$city.">".$city."</option>"; } $test .= "</select>\n"; print $test;


Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...

Replies are listed 'Best First'.
Re^2: Select form Hell!
by Anonymous Monk on Jul 19, 2007 at 02:40 UTC
    That was it...Thank you very much, I just couldn't think anymore. Well done!!