in reply to Re: Getting curl o/p
in thread Getting curl o/p
Thank you toolic for the quick response
I tried this code
my $result=`curl '-G''-x' 127.0.0.1:8080 http:/+/www.google.com 1>prog +ram.stdout 2>program.stderr`;
I see in the program.stderr the following:
curl: option -G-x: is unknown
curl: try 'curl --help' for more information
1-How can I make it work right?
2-I want to add variables one for ip and another for port instead of 127.0.0.1:8080, Will it work?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Getting curl o/p
by Corion (Patriarch) on Feb 17, 2010 at 20:07 UTC | |
by mido45 (Novice) on Feb 17, 2010 at 20:18 UTC |