in reply to Re^2: Getting contents of URL
in thread Getting contents of URL

monarch's script works fine for me (it's basically the same as the example at LWP::UserAgent

perhaps you forgot to make the new ua object?
my $ua = LWP::UserAgent->new();

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.