# from David Golden
# on Friday 20 July 2007 04:24 am:
>> I think we want to keep the current behavior, but print 'require' in
>> the Makfile.PL.
>
>To be clear -- you're suggesting that M::B::Compat continue to drop
>'perl' from the requires list when creating PREREQ_PM, but that if
>'perl' is detected in requires, M::B::Compat should add the
>appropriate 'require 5.XXXXXX' at the top of the generated
>Makefile.PL?
yes
>I think that would be excellent and would eliminate the need for
>EU::MM to do special handling for 'perl'. (Well, maybe it should in
>case people writing Makefile.PL themselves don't realize they
>shouldn't use 'perl'.)
Well, EU::MM *cannot* be patched on the clients without
configure_requires. So, the best it could do would be to warn the
author about it at `make dist` time.
>The one detail I'd note is that some distros use dotted decimal
>('perl' => '5.8.0') so M::B::Compat should convert that (5.008000) in
>a 'require 5.XXXXXX' line for older versions of Perl.
Yep. I think there's some version.pm fu for that.
Want to take a crack at the patch?
--Eric
--
The first rule about Debian is you don't talk about Debian
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------