Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: CPAN LWP Install won't return local requests

by true (Pilgrim)
on Dec 20, 2009 at 22:01 UTC ( [id://813649]=note: print w/replies, xml ) Need Help??


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

This has led me down the road of noticing that the module Encode is required by LWP and Encode will not install on my server. I'm not sure what to do to fix this but i just thought i would update this ticket.
jtrue

Replies are listed 'Best First'.
Re^5: CPAN LWP Install won't return local requests
by Khen1950fx (Canon) on Dec 20, 2009 at 22:32 UTC
    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?
      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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found