Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 115786
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: dmitryb [...] fastmail.fm
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.14
Fixed in: 2.16



Subject: Can't locate object method "inst_file" via package "AAA::Demo"
cpan -O fails with the following error: Can't locate object method "inst_file" via package "AAA::Demo" (perhaps you forgot to load "AAA::Demo"?) at /opt/perlbrew/perls/perl-5.20.2/lib/site_perl/5.20.2/App/Cpan.pm line 1339.
Confirmed. Fortunately only the cpan script is broken and the workaround for now is perl -MCPAN -e 'CPAN::Shell->r' The output format is slightly different though but I think it isn't missing anything.
A tentative fix is in the repo and will likely find its way into the next release.
Shoudl be fixed in 2.16. Thanks for the report!