Andreas J. Koenig wrote:
On Tue, 21 Nov 2006 15:22:38 +0000, Sendu Bala <[EMAIL PROTECTED]> said:

  > Does CPAN support and make use of the things you can include in v1.3
  > (current) of the META spec?

Only "requires" and "build_requires"

  > http://module-build.sourceforge.net/META-spec-v1.3.html

  > Specifically, does it do anything useful when it comes across
  > 'recommends' syntax like:

  > recommends:
  >     Data::Dumper: 0
  >     File::Find: 1.03

I expect that other tools deal with recommendations and that after the
user has made his choices the recommendations are merged with requires
and/or build_requires.

At what point in the process could another such tool act like that? As far as I can see, CPAN unpacks the tar ball, checks META.yml for 'requires' and 'build_requires', then immediately runs Build.PL, by which time it is too late for another tool to do anything with the META.yml file, or 'merge' in some other way?

How would you suggest a tool achieve these ends? Any way I look at it, it must be CPAN that processes the META.yml file before running Build.PL, which means it must be CPAN that handles the 'recommends' or at least CPAN that calls some other tool to modify META.yml before CPAN looks at it in the normal way.

Reply via email to