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

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
  • Comment on Re^6: CPAN LWP Install won't return local requests

Replies are listed 'Best First'.
Re^7: CPAN LWP Install won't return local requests
by Khen1950fx (Canon) on Dec 21, 2009 at 00:01 UTC
    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:-).
Re^7: CPAN LWP Install won't return local requests
by true (Pilgrim) on Dec 20, 2009 at 23:35 UTC
    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