# from David Golden
# on Friday 20 July 2007 11:22 am:
>I still think it should be patched so that anyone installing
>Bundle::CPAN gets a version that handles it.
>
>Again -- EU::MM doesn't break if 'perl' is in PREREQ_PM -- it just
>warns that the 'perl' module can't be found.
>...
>Either way, I'd prefer to have a
>formal way to specify a perl prerequisite rather than a "convention"
>of dying during Makefile.PL and then having other toolchain modules
>have to parse the output to figure out why.
This is just "the time machine problem" again though. The Makefile.PL
still has to have the "old way" convention or the target machines will
blindly try to continue. That's particularly important in this case
because the whole point is to abort if the target perl doesn't meet the
required version.
It would be nice if EU::MM could list perl in META.yml, but you still
have to type 'require ...'.
So, Module::Build can solve this problem on both ends by creating a
properly-aborting Makefile.PL and also listing 'perl => 5.600000' in
META.yml.
--Eric
--
Speak softly and carry a big carrot.
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------