Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 13367
Status: resolved
Priority: 0/
Queue: CPANPLUS

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

Bug Information
Severity: Normal
Broken in:
  • 0.054
  • 0.055
Fixed in: (no value)



Subject: CPANPLUS cannot parse dist in "name_ver.ext" form
\pub\CPAN\authors\id\G\GO\GOYALI\SMS_API_3_01.tar.gz is treated as "\pub\CPAN\authors\id\G\GO\GOYALI\SMS_API-3_01.tar.gz" when it's fetched.
Robert, [guest - Wed Jun 22 11:18:08 2005]: Show quoted text
> \pub\CPAN\authors\id\G\GO\GOYALI\SMS_API_3_01.tar.gz is treated as > "\pub\CPAN\authors\id\G\GO\GOYALI\SMS_API-3_01.tar.gz" when it's > fetched.
This the last bug report i'll treat that has this limited information. As asked many times before, include what you did, what you expeced and the error that occurred, ideally accompanied by a small program that demonstrates the problem. I can now only guess what you meant, and that is hardly constructive, nor pleasant. I again can not reproduce this behaviour, but i did notice that when doing this: CPAN Terminal> z G/GO/GOYALI/SMS_API_3.01.1.tar.gz I got this error. [ERROR] Cannot find 'G/GO/GOYALI/SMS_API_3.01.1.tar.gz' in the module tree No such module: G/GO/GOYALI/SMS_API_3.01.1.tar.gz No modules found to operate on! I've added this patch to make sure this string also gets parsed ok: ==== //depot/cpanplus/devel/lib/CPANPLUS/Backend.pm#92 - /Users/kane/sources/p4/ cpanplus/devel/lib/CPANPLUS/Backend.pm ==== 465c465 < $guess =~ s/-(\d[.\w]*?)(?:\.[A-Za-z.]*)?$//; --- Show quoted text
> $guess =~ s/(?:-|_)(\d[.\w]*?)(?:\.[A-Za-z.]*)?$//;
I will just assume that is what you meant and resolve the ticket.