On Sat Apr 05 01:36:12 2008, IMACAT wrote:
Show quoted text> Dear Jos Boumans,
>
> Hi. This is imacat from Taiwan. I found that the parse_module()
> method of CPANPLUS-0.84 returns a wrong module with
> GRICHTER/HTML-Embperl-1.2.1.tar.gz.
>
> imacat@rinse ~ % /opt/perl/testers/5.8.8/bin/perl -mCPANPLUS::Backend
> -e'@_ = CPANPLUS::Backend->new->parse_module("module" =>
> "GRICHTER/HTML-Embperl-1.2.1.tar.gz"); print $_[0]->package;'; echo
> [MSG] Checking if source files are up to date
> [MSG] Retrieving /home/imacat/.cpanplus/sourcefiles.2.18.stored
> Embperl-1.2.1.tar.gz
> imacat@rinse ~ %
This is actually correct. If you look at the file that's been uploaded to CPAN,
it's indeed Embperl-*.tar.gz:
CPAN Terminal> l HTML::Embperl
[MSG] Checking if source files are up to date
[MSG] Retrieving /Users/kane/.cpanplus/sourcefiles.2.16.stored
[MSG] Adding packages from custom source 'file:///tmp'
Details for 'HTML::Embperl'
Author Gerald Richter (richter@ecos.de)
Description Build dynamic Websites (e.g. embed Perl)
Development Stage Released
Interface Style plain Functions, no references used
Language Used C and perl, a C compiler will be needed
Package Embperl-2.3.0.tar.gz
Public License Standard-Perl: user may choose between GPL and Artistic
Support Level Mailing-list
Version on CPAN 2.003000
Contains: Apache::Embperl
Embperl
The Embperl package happens to contain HTML::Embperl as well, which may
not be quite standard, but it is the way it is.
Show quoted text> As the above shows, it returns Embperl-1.2.1.tar.gz, but not
> HTML-Embperl-1.2.1.tar.gz. As a result, CPANPLUS fails download when
> trying to test or install GRICHTER/HTML-Embperl-1.2.1.tar.gz, creating
> dummy Makefile.PL in the current working directory of the user, and
> doing non-sense make and install there.
When trying this on my machine, when asked to fetch HTML::Embperl, it
downloads the proper Embperl-*.tar.gz file, so i can not reproduce this.
Show quoted text> Hope that this helps. Please tell me if you need any more
> information, or if I could be of any help. Thank you.
If you have a way to reproduce this error, please let me know.