Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: LPW $response->decoded_content different on different servers ? (Bundle::LWP is dead)

by Anonymous Monk
on Apr 30, 2015 at 08:29 UTC ( #1125228=note: print w/replies, xml ) Need Help??


in reply to Re^4: LPW $response->decoded_content different on different servers ?
in thread LWP $response->decoded_content different on different servers ?

The good server seems to use an older version of libwww-perl judging by the default User Agents.

Well, there is your problem :)

When I came back I forgot to look at the bundle version stuff, look at this

libwww-perl-5.837 20 Sep 2010 last appearance of Bundle::LWP libwww-perl-6.13 14 Feb 2015 Latest Release

In short, Bundle::LWP is dead, Changes doesn't explain why it went dead, but it did :)

Get the latest with cpan LWP  LWP::Protocol::https...

  • Comment on Re^5: LPW $response->decoded_content different on different servers ? (Bundle::LWP is dead)
  • Select or Download Code

Replies are listed 'Best First'.
Re^6: LPW $response->decoded_content different on different servers ? (Bundle::LWP is dead)
by Transalp (Sexton) on Apr 30, 2015 at 09:04 UTC
    Solved :) Thank you very much for the help Anonymous

    Upgrading LWP did not help directly.
    It turns out the bad server had both Bundle::LWP and 'LWP' installed and got confused, the good server only has Bundle::LWP

    Removing the 'LWP' module from the bad server solved it for now.

      Um, that makes no sense :) but ok, i'll take your word for it
        It may have to do with me using 'Webmin' to manage my cpan modules. Installing cpan module 'LWP' through Webmin seems to have installed a second copy of Bundle::LWP without removing or overwriting the older one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1125228]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2023-12-05 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (29 votes). Check out past polls.

    Notices?