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

Which version of LWP::UserAgent? Where is your LWP::UserAgent code? Did you turn on LWP::Debug?
  • Comment on Re^3: CPAN LWP Install won't return local requests

Replies are listed 'Best First'.
Re^4: CPAN LWP Install won't return local requests
by true (Pilgrim) on Dec 20, 2009 at 19:49 UTC
    #!/usr/bin/perl use LWP; print "This is libwww-perl-$LWP::VERSION\n";

    this script outputs: libwww-perl-5.834
    My perl is v5.6.1 built for i386-linux

    The code above (in my very first post) is my LWP code. I am trying to use LWP::Simple.

    LWP::Debug says it is deprecated. I am trying to see if i can use that to gain some clues, but the man pages are not really helping me.

    Also here are the versions for LWP::Simple and LWP::UserAgent courtesy of CPAN

    cpan> install LWP::Simple LWP::Simple is up to date (5.827) cpan> install LWP::UserAgent LWP::UserAgent is up to date (5.834).
    jtrue
      LWP::Debug says it is deprecated, and then shows you what to use instead
Re^4: CPAN LWP Install won't return local requests
by true (Pilgrim) on Dec 20, 2009 at 22:01 UTC
    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
      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