"marius_13" <x@x.x> wrote in message news:<5e*******************@bignews5.bellsouth.net >...
This just hangs trying to get to nfl.com. Any thoughts?
#!/usr/bin/perl
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$req = new HTTP::Request GET => "http://www.nfl.com/scores.shtml";
$res = $ua->request($req);
$res->Is_Success() || die "Couldn't Connect";
print $res->Content();
After correcting the obvious typos (Perl identifiers are case
sensative) it works just fine here.
What have you done to try to partition your problem? Have you tried
using LWP to access other sites? Presumably not or you'd have fixed
the typos.
Have you tried to access this site using a raw TCP session? Using a
browser? Perhaps you've got firwall issues.
This newsgroup does not exist (see FAQ). Please do not start threads
here.