perl -MCGI=self_url -le 'print self_url' "o=hai;i=can;haz=cheezeburger" http://localhost?o=hai;i=can;haz=cheezeburger perl -MCGI=self_url -MURI -MURI::QueryParam -le \ '$u = URI->new(self_url); $u->query_param(haz => "tacoz"); print $u' \ "o=hai;i=can;haz=cheezeburger" http://localhost?o=hai;i=can;haz=tacoz