Subject: | Undefined subroutine error in CPAN::HTTP::Credentials |
line 10 of CPAN::HTTP::Credentials.pm
calls _clear_non_proxy_credentials()
Line 14 defined clear_non_proxy_credentials() (no leading underscore).
So the fix looks pretty obvios to me...
I get this error message:
cpan[1]> i /ldaps/
CPAN: CPAN::SQLite loaded ok (v0.203)
CPAN: LWP::UserAgent loaded ok (v6.05)
CPAN: Time::HiRes loaded ok (v1.9725)
Fetching with LWP:
http://www.perl.com/CPAN/authors/01mailrc.txt.gz
Catching error: "Undefined subroutine &CPAN::HTTP::Credentials::_clear_non_proxy_credentials called at /webdata/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/CPAN/HTTP/Credentials.pm line 10.\cJ" at /webdata/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/CPAN.pm line 392.
CPAN::shell() called at /webdata/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/App/Cpan.pm line 338
App::Cpan::_process_options('App::Cpan') called at /webdata/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/App/Cpan.pm line 421
App::Cpan::run('App::Cpan') called at /webdata/perl5/perlbrew/perls/perl-5.18.0/bin/cpan line 12
cpan[2]>
I've also placed it in this gist, in case the formatting gets borked:
https://gist.github.com/vampirechicken/7934836