I currently have a setup like:
my $build = Module::Build->new(
#...
recommends => {'Module' => 0}
)
I can then use ./Build distmeta to generate a META.yml file with content
like:
requires:
Module: 0
Is it possible to get Module::Build to generate the optional_features
syntax instead? So I want:
optional_features:
- foo:
description: Provides the ability to blah.
requires:
Module: 0
Also, where can I find full documentation for all of the methods
available? Eg. I couldn't find anything that even told me all the
possible options you can supply to Module::Build->new(), having looked
in these places:
http://search.cpan.org/~kwilliams/Module-Build-0.2805/lib/Module/Build.pm
http://search.cpan.org/~kwilliams/Module-Build-0.2805/lib/Module/Build/Authoring.pod
http://search.cpan.org/~kwilliams/Module-Build-0.2805/lib/Module/Build/Cookbook.pm
http://search.cpan.org/~kwilliams/Module-Build-0.2805/lib/Module/Build/Compat.pm
So far I've just looked through the code of Module/Build/Base.pm to
guess what I should be able to do, which isn't ideal.