IS this how I capture a web page code to a variable?

> #!/usr/bin/perl
> 
> use LWP::UserAgent;
> 
> my $req;
> my $ua = LWP::UserAgent->new;
> $req = HTTP::Request->new(GET => 'http://www.yahoo.com');

print $req;     ## ?????????????
from here I can print at the code for the web page?


########################################################3


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to