in reply to Re^3: Getting curl o/p
in thread Getting curl o/p

Thank You Corion

I followed your steps and it worked

my $result=`curl -G -x127.0.0.1:8080 http://www.google.com 1>program.s +tdout 2>program.stderr`; print"$result\n";

I will try now to replace 127.0.0.1:8080 with variables , I hope it will work too