--- Ken Herron <[EMAIL PROTECTED]> wrote:
> --On Tuesday, July 01, 2003 16:41:08 -0700 Jim
> Angstadt 
> <[EMAIL PROTECTED]> wrote:

<snip>

>   my $response = $ua->request($req) or die ...;
>       print $response->content;

Hi Ken,

Thanks for the help.  It worked just as you, and
the manual, said:  

my $ua = LWP::UserAgent->new(timeout => 20,)
 or die "Cannot create UserAgent: $! \n";

my $req = HTTP::Request->new('GET', $url)
  or die "Cannot create Request: $! \n";

my $res  = $ua->request($req ) 
  or die "Cannot get request: $! \n";

my $html = $res->content;  # Thanks Ken

I sure appreciate the assistance.

Thanks, 
Jim


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to