i was waiting for answer but nune came i myself found solution. if it is useful to 
someone just cut and paste this programe and see the output

use LWP::UserAgent;
$ua=LWP::UserAgent->new;
#$ua->agent("Mozilla/3.0");
$req=new HTTP::Request(GET=>"http://www.yahoo.com";);
$res=$ua->request($req);
print $res->content;


 kasi ramanathen <[EMAIL PROTECTED]> wrote:


use LWP::Simple;
getprint("http://www.yahoo.com/";);

this code will print the whole yahoo page as html output in your system.

but instud of using simple i want to use UserAgent. shall you give me the code so that 
i can cut and past and run the program. please response quickly

Catch all the cricket action. Download Yahoo! Score tracker

kasi 

perl programmer 

at stringinfo, india

Catch all the cricket action. Download Yahoo! Score tracker

Reply via email to