in reply to How to get into $ENV{'QUERY_STRING'}?

$ENV{'QUERY_STRING'} is meant to be read, not written to. All you need to do is something like:
$url = "http://www.foo.com/cgi-bin/test2.pl?JobID="; $url .= join('+', @jid); print "<a href=\"$url\">$url</a>\n";