in reply to Re^2: Why would LWP::Simple::get stop working?
in thread Why would LWP::Simple::get stop working?
Why "alas"? I indicated you might have started noticing the problem because of a change in that value, but you don't demonstrate a lack of change.
What you did show is that you end up in LWP::Simple's _trivial_http_get method. (Usually, LWP calls end up LWP::UserAgent.) You could try adding debug statements to it. It could be that you end up in an endless redirection loop that LWP::UserAgent somehow avoids.
btw, no problems here:
>perl -le "print scalar grep {/http/i} keys %ENV" 0 >perl -le "use LWP (); print $LWP::VERSION" 5.64 >perl script.pl Fetching 'http://www.google.com' with LWP::UserAgent Retrieved 2311 bytes Fetching 'http://www.google.com' with LWP::Simple Retrieved 2311 bytes
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why would LWP::Simple::get stop working?
by dpmott (Scribe) on Jun 20, 2005 at 20:08 UTC | |
by ikegami (Patriarch) on Jun 20, 2005 at 20:39 UTC |