in reply to Re^4: CPAN LWP Install won't return local requests
in thread CPAN LWP Install won't return local requests

Encode is a dualLived module that's been part of the core since perl5.7.3. However, libwww-perl was written with 5.006. I checked the dependencies, and I don't see Encode listed as a prereq. Where did you find the Encode dep at?
  • Comment on Re^5: CPAN LWP Install won't return local requests

Replies are listed 'Best First'.
Re^6: CPAN LWP Install won't return local requests
by true (Pilgrim) on Dec 20, 2009 at 23:03 UTC
    Inside the HTTP::Response.pm file subroutine is called filename it says "require Encode;"

    Does anyone care to comment on the best way to remove my "LWP" install i did last night? I don't see a way to do that in CPAN.

    Thanks for reading everybody!

    jtrue
      Thanks for the response. I found "require Encode". Strange but I found a recent response from Aas, Re: Encode dependency, that explains things. He said that LWP was meant to work even without Encode:-).
      I did not "fix" this. But my server is now working. I did a search on my server for "Simple.pm" and found two copies. Luckily one was an older version.

      so i just copied the older one into my current library and now the script works.

      cp /usr/lib/perl5/site_perl/5.6.0/LWP/Simple.pm /usr/lib/perl5/site_pe +rl/5.6.1/LWP/Simple.pm
      I'm sure HTTP::UserAgent is probably broken but at least LWP::Simple is back to working again.
      jtrue