Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: LWP::UserAgent error Unexpected keys - LocalHost

by ikegami (Pope)
on Jul 30, 2014 at 16:32 UTC ( #1095631=note: print w/ replies, xml ) Need Help??


in reply to LWP::UserAgent error Unexpected keys - LocalHost

Sounds like one of the modules used by LWP was updated without having its dependencies updated to the new minimum required version. Could you please provide the output of the following command:

perl -MLWP::UserAgent -e' END { for (keys(%INC)) { s{\.pm\z}{}; s{/}{::}g; printf("%s %s\n", $_, $_->VERSION); } } LWP::UserAgent->new->get("http://www.perlmeme.org") ' | sort


Comment on Re: LWP::UserAgent error Unexpected keys - LocalHost
Download Code
Re^2: LWP::UserAgent error Unexpected keys - LocalHost
by trendle (Novice) on Jul 30, 2014 at 18:24 UTC
    Sorry, forgot to reply here.

    FYI, here's the output to the above command.

    Can't call method "VERSION" without a package or object reference at - +e line 6. END failed--call queue aborted. Fcntl 1.06 HTTP::Request::Common 6.00 HTTP::Status 6.00 IO::Handle 1.28 IO::Socket 1.31 LWP::UserAgent 6.06 Net::HTTP 6.07 POSIX 1.17 SelectSaver 1.02 Symbol 1.07 Tie::Hash 1.03 Time::Local 1.2000 URI::_generic warnings 1.06

      Oh, and here's the same from the new ActiveState install

      perl -MLWP::UserAgent -e' END { for (keys(%INC)) { s{\.pm\z}{}; s{/}{::}g; printf("%s %s\n", $_, $_->VERSION); } } LWP::UserAgent->new->get("http://www.perlmeme.org") ' | sort bytes 1.04 Carp 1.32 Compress::Raw::Zlib 2.063 Config constant 1.27 Errno 1.15 Exporter 5.68 Exporter::Heavy 5.68 Fcntl 1.11 feature 1.27 File::Glob 1.17 File::GlobMapper 1.000 HTML::Entities 3.69 HTML::HeadParser 3.71 HTML::Parser 3.71 HTTP::Config 6.00 HTTP::Date 6.02 HTTP::Headers 6.05 HTTP::Message 6.06 HTTP::Request 6.00 HTTP::Request::Common 6.04 HTTP::Response 6.04 HTTP::Status 6.03 integer 1.00 IO 1.25_06 IO::Compress::Base::Common 2.063 IO::Compress::Gzip::Constants 2.063 IO::Compress::Zlib::Extra 2.063 IO::File 1.16 IO::Handle 1.33 IO::Seekable 1.1 IO::Select 1.21 IO::Socket 1.34 IO::Socket::INET 1.33 IO::Socket::UNIX 1.24 IO::Uncompress::Adapter::Inflate 2.063 IO::Uncompress::Base 2.063 IO::Uncompress::Gunzip 2.063 IO::Uncompress::RawInflate 2.063 List::Util 1.35 LWP 6.05 LWP::MemberMixin LWP::Protocol 6.00 LWP::Protocol::http LWP::UserAgent 6.05 Net::HTTP 6.06 Net::HTTP::Methods 6.06 overload 1.18 overloading 0.02 Scalar::Util 1.35 SelectSaver 1.02 Socket 2.013 Storable 2.45 strict 1.07 Symbol 1.07 Time::Local 1.2300 URI 1.60 URI::Escape 3.31 URI::_generic URI::http URI::_idna URI::_punycode 0.04 URI::_query URI::_server utf8 1.09 vars 1.02 warnings 1.13 warnings::register 1.02 XSLoader 0.16
        I got it working with
        IO::Socket::IP 0.31 LWP 6.08 LWP::UserAgent 6.06 Net::HTTP 6.07 Net::HTTP::Methods 6.07

        So get latest of IO::Socket::IP LWP Net::HTTP , at this time  cpanm MSCHILLI/Net-HTTP-6.07.tar.gz PEVANS/IO-Socket-IP-0.31.tar.gz MSCHILLI/libwww-perl-6.08.tar.gz

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2014-10-20 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (92 votes), past polls