This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
115734
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
BOUTROSLB [...] cpan.org
Cc:
clalansingh [...] oicr.on.ca
AdminCc:

BugTracker
Severity:
Critical
Broken in:
2.14
Fixed in:
2.16



CC: clalansingh@oicr.on.ca
Subject: Installing from cwd broken
Using `cpan .' as described in the documentation to install a module from the current working directory is broken as of version 2.14. This functionality was working in version 2.10. Example output: clalansingh@oll-clalansingh:~/workspace/0.2.0$ cpan . Reading '/home/clalansingh/.cpan/Metadata' Database was generated on Wed, 29 Jun 2016 14:17:03 GMT Could not expand [.]. Check the module name. Checking 180247 namespaces for close match suggestions Perhaps you meant one of these: U c B K P O V L M Wx Skipping . because I couldn't find a matching namespace.
Subject: Re: [rt.cpan.org #115734] Installing from cwd broken
Date: Fri, 01 Jul 2016 07:56:50 +0200
To: "Boutros Lab Software via RT" <bug-CPAN@rt.cpan.org>
From: Andreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
Show quoted text
>>>>> On Wed, 29 Jun 2016 13:01:14 -0400, "Boutros Lab Software via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> Skipping . because I couldn't find a matching namespace.
Confirmed. Fortunately only the cpan script is broken and the workaround for now is: perl -MCPAN -e 'install "."' -- andreas
CC: undisclosed-recipients:;
Subject: Re: [rt.cpan.org #115734] Installing from cwd broken
Date: Fri, 01 Jul 2016 07:56:41 +0200
To: "Boutros Lab Software via RT" <bug-CPAN@rt.cpan.org>
From: Andreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
Show quoted text
>>>>> On Wed, 29 Jun 2016 13:01:14 -0400, "Boutros Lab Software via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> Skipping . because I couldn't find a matching namespace.
Confirmed. Fortunately only the cpan script is broken and the workaround for now is: perl -MCPAN -e 'install "."' -- andreas
A tentative fix is in the repo and will likely find its way into the next release.
Fixed in 2.16. Thanks for the report!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.