Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 89894
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.2011



Subject: PrereqCheck cannot detect Term::ReadLine::Perl
On a system with installed Term::ReadLine::Perl I get: $ echo "Term::ReadLine::Perl 0" | perl5.18.1 -MCPAN::Reporter::PrereqCheck -e 'CPAN::Reporter::PrereqCheck::_run()' Term::ReadLine::Perl 0 broken This is because Term::ReadLine::Perl cannot be require'd on its own without Term::ReadLine loaded before. Without Term::ReadLine loaded: $ perl5.18.1 -e 'require Term::ReadLine::Perl' Can't locate object method "Features" via package "Term::ReadLine::Stub" at /usr/perl5.18.1/lib/site_perl/5.18.1/Term/ReadLine/Perl.pm line 101. Compilation failed in require at -e line 1. With Term::ReadLine: $ perl5.18.1 -e 'require Term::ReadLine; require Term::ReadLine::Perl' && echo everything is ok everything is ok So Term::ReadLine::Perl is another candidate for an exception in _try_load() in CPAN::Reporter::PrereqCheck. Regards, Slaven
On 2013-10-30 11:38:01, SREZIC wrote: Show quoted text
> On a system with installed Term::ReadLine::Perl I get: > > $ echo "Term::ReadLine::Perl 0" | perl5.18.1 > -MCPAN::Reporter::PrereqCheck -e 'CPAN::Reporter::PrereqCheck::_run()' > Term::ReadLine::Perl 0 broken > > This is because Term::ReadLine::Perl cannot be require'd on its own > without Term::ReadLine loaded before. Without Term::ReadLine loaded: > > $ perl5.18.1 -e 'require Term::ReadLine::Perl' > Can't locate object method "Features" via package > "Term::ReadLine::Stub" at > /usr/perl5.18.1/lib/site_perl/5.18.1/Term/ReadLine/Perl.pm line 101. > Compilation failed in require at -e line 1. > > With Term::ReadLine: > > $ perl5.18.1 -e 'require Term::ReadLine; require Term::ReadLine::Perl' > && echo everything is ok > everything is ok > > So Term::ReadLine::Perl is another candidate for an exception in > _try_load() in CPAN::Reporter::PrereqCheck.
I cannot reproduce this anymore with recent C::R, so probably it's fixed.