On Feb 14, 2006, at 11:16 AM, demerphq wrote:
My understanding of this (and i hope im not putting words in Adams
mouth) is that anybody using an old CPAN can't install a distribution
that requires Module::Build unless a Makefile.PL is present.
Right.
Since this is a big chunk of the cpan's out there it affects a lot of
users,
and in my experience is one of the reasons that people often get a bad
impression of MB on their first exposure as there is a good chance
that the first time they notice something uses MB will be when CPAN
fails to install because of the missing Makefile.pl
Agreed.
IOW, no dist should ever be released to CPAN without a Makefile.PL and
MB should not allow anyone to create such a dist.
I personally agree, but I'd rather implement it as a sanity check
rather than a forced decision - something like, during the 'dist'
action: "you're about to create a distribution that contains no
Makefile.PL. This will limit the ability of CPAN users to install your
module. Are you sure you want to continue?"
If they answer no (or heck, even if they answer yes), we can point them
to the documentation for Module::Build::Compat so they can
auto-generate an appropriate Makefile.PL.
-Ken