bash $ ( export QUERY_STRING="foo=bar&baz=foo+bar"; perl x.pl) tcsh $ (set QUERY_STRING="foo=bar&baz=foo+bar"; perl x.pl)