khemir nadim wrote:

"Fergal Daly" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

On Fri, Jan 23, 2004 at 01:36:48AM -0500, David Manura wrote:

Fergal,

I like what Version::Split is attempting to do (triggering a compile

time


error if a newer version of a module could result in logic errors) and

how .....

Hmm, isn't that what Module::Build is already offering to you?
  use Module::Build;
  my $build = Module::Build->new
    (
     module_name => 'Foo::Bar',
     license => 'perl',
     requires => {
                  'perl'           => '5.6.1',
                  'Some::Module'   => '1.23',
                  'Other::Module'  => '>= 1.2, != 1.5, < 2.0',
                 },
    );
  $build->create_build_script;My 2 cents, Nadim.


Yes. However, the added benefit of Version::Split is that it moves the maintanance of "'>= 1.2, != 1.5, < 2.0'" away from Foo::Bar and centrally into Other::Module. As Fergal stated,


> V::S tries to move the version problem from the user (who in general knows the > least about what versions are compatible) to the author (who in theory knows
> most).


This should be less error prone and easier to maintain.

-davidm



Reply via email to