Subject: | Bad NAME in Makefile.PL |
Date: | Mon, 25 Mar 2013 20:23:09 -0700 |
To: | bug-Filter [...] rt.cpan.org |
From: | Tatsuhiko Miyagawa <miyagawa [...] gmail.com> |
Makefile.PL has NAME => "Filter", which is incorrect since the
distribution doesn't have Filter.pm. You can have
DISTNAME => "Filter",
NAME => "Filter::Util::Call",
to keep the distribution name Filter, while MakeMaker creates the
write entry for the module (not dist).
http://search.cpan.org/dist/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
NAME
The package representing the distribution. For example, Test::More or
ExtUtils::MakeMaker. It will be used to derive information about the
distribution such as the DISTNAME, installation locations within the
Perl library and where XS files will be looked for by default (see
XS).
NAME must be a valid Perl package name and it must have an associated
.pm file. For example, Foo::Bar is a valid NAME and there must exist
Foo/Bar.pm. Any XS code should be in Bar.xs unless stated otherwise.
Your distribution must have a NAME.
--
Tatsuhiko Miyagawa