Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 ( #1125234=note: print w/replies, xml ) Need Help??

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

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.

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

Replies are listed 'Best First'.
Re^7: LPW $response->decoded_content different on different servers ?
by Anonymous Monk on Apr 30, 2015 at 09:12 UTC
    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1125234]
[hippo]: Really? Not using the one from the CentOS repository? Perhaps that's the problem.
[vedagiri89]: i need when this issue will come usually
[hippo]: How about mod_perl? Was that installed from the CentOS packge or from source?
[vedagiri89]: from the source
[hippo]: But is under vendor_perl in your error message so you are mixing up modules installed from the packager and by hand. That's rarely a good plan.
[vedagiri89]: the prm fine if i run file directly..not working if i run through apache http file
[hippo]: Environments differ.
[vedagiri89]: so, how to fix that differ

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2018-06-19 11:38 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (113 votes). Check out past polls.