The LWP I used in my test was the one that came with my copy of 5.16.1.
Seems weird that your copy performs differently if you have not installed anything extra?
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
I installed Perl 5.16.3. I re-installed modules using the PPM Profiler. Scrolling thru PPM I don't see SSL but I do see LWP-Protocol-https. LWP is ver 6.04.
| [reply] |
If you are using a vanilla installation of Perl and getting this problem from google, I see two possibilities:
- You have some other piece of local software -- say a local proxy -- that is interfering.
I suspect that the error text you are receiving is spurious. Ie. an extended error code left over from an earlier failing operation that is only showing up when you print error message after the (legimate) 500 error from the get.
You might be able to verify that by setting $^E = 0 before you do the GET. (Untested)
- You have done so much automated downloading from google that your IP has risen above their parapet and they are now restricting your IP to connections that use browser user-agent strings.
Ie. They are blocking requests that aren't from browsers.
You could test this theory by setting the user-agent string in LWP to something that looks like a browser.
But beware; because they will soon detect that you are emulating a browser and apply tighter restrictions if not an outright ban if you do this a lot.
Those are my best guesses; its hard to try and help given I cannot reproduce the problem.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |