in reply to (un)escaping html with cgi.pm

You should be able to turn off the feature known as autoEscape as per the module CGI prior to creating your popup, and then turn it back on afterwards, so it would look something like this:

$query->autoEscape(0); # turn it off $query->popup_menu("fooname",\%db_return_hash,"default"); $query->autoEscape(1); # turn it back on

Hope that helped,
-v
"Perl. There is no substitute."

Replies are listed 'Best First'.
Re^2: (un)escaping html with cgi.pm
by kb2yht (Acolyte) on Sep 20, 2004 at 22:13 UTC
    Much thanks, I some how missed the autoEscape call in my reading.