in reply to how to url encode at OS level?
The OS and the shell don't know about "url-encoding", but they (like Perl) know about "quoting", except that the quoting rules differ between the shells. Perl's system function can (try to) circumvent the shell if you give it a list of strings instead of one string:
system 'start', 'http://www.foo.com/cgi-bin/foo.cgi?a=2&b=3';
Alternatively, you can do the shell quoting yourself:
system 'start "http://www.foo.com/cgi-bin/foo.cgi?a=2&b=3"';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to url encode at OS level?
by redss (Monk) on Jul 19, 2006 at 14:19 UTC | |
by Corion (Patriarch) on Jul 19, 2006 at 14:23 UTC |