Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 7248
Status: resolved
Worked: 20 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 6.21_03
Fixed in: 6.78



Subject: invalid NAME parameter (FULLEXT when NAME is IO-stringy)
The IO-stringy distribution has a Makefile.PL like WriteMakefile( NAME => "IO-stringy", so that eventually FULLEXT is IO-stringy sub ExtUtils::MM_Unix::init_main has $self->{FULLEXT} = $self->catdir(split /::/, $self->{NAME}); which doesn't work when an author puts in something thats not a module name. The problem is that the .packlist ends up, in perl\site\lib\auto\IO-stringy\.packlist which is obviously incorrect so MakeMaker needs to check that the NAME parameter to WriteMakefile is a valid module name, and complain loudly (and refuse to write a Mmakefile) when it isn't
Many thanks. A warning will be generated if the NAME attribute is not a valid package name. This has now been patched in the EUMM source repository and will be available in a future stable release.
Resolved with the CPAN release of 6.78