http://qs321.pair.com?node_id=100206


in reply to Best way to generate URLs in CGI script?

basically, the creating a new object should have worked..
$cgi = new CGI; #your basic info from QUERY_STRING or STDIN $other_cgi = new CGI($query_string); # $query_string is the url info t +o escape
then use $other_cgi->param($param) to obtain the params...
$other_cgi is a different object than $cgi at this point..
Hope that helps..
-Syn0