>>>>> 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.

  > More importantly, does it do anything useful when it comes across the
  > alternate 'optional_features' syntax like:

  > optional_features:
  >   - foo:
  >       description: Provides the ability to blah.
  >       requires:
  >         Data::Dumper: 0
  >         File::Find: 1.03
  >   - bar:
  >       description: This feature is not available on this platform.
  >       excludes_os: MSWin32

No.

  > Is there some document that describes CPAN behaviour with META.yml files?

The manpage talks about prerequisites. The build_requires attribute
started to work as designed in 1.88_51 and is indeed not yet
documented. -> Todo.

-- 
andreas

Reply via email to