in reply to Re: Re: LWP::SIMPLE fails on certain URL
in thread LWP::SIMPLE fails on certain URL

Here is the code I used:
#!/usr/bin/perl -w use strict; use LWP::Simple; my $url = "http://wire.ap.org/APnews/center_minor.html?FRONTID=SCIENCE +"; my $body = get("$url"); print "$body";

If this helps $LWP::Simple::VERSION = 1.35

Update: I ran it a couple more times and I continue to get content.

grep
grep> cd pub
grep> more beer

Replies are listed 'Best First'.
Re: Re: Re: Re: LWP::SIMPLE fails on certain URL
by cdherold (Monk) on Jan 27, 2002 at 14:42 UTC
    Keep getting "internal server error" using code you posted above. don't know why exactly that if worked for you it shouldn't work for me. will try again later. need to get sleep now. thanks for your input and help.