Module::Build::JSONMETA - (depreacted) write META.json instead of META.yml
Achtung! This library will soon be obsolete as Module::Build moves to use the official CPAN::Meta::Spec JSON files.
This interface may be changed in the future if someone with more Module::Build expertise steps forward.
----- in Build.PL ----- use Module::Build; use Module::Build::JSONMETA; my $class = Module::Build->subclass( code => Module::Build::JSONMETA->code, ); my $build = $class->new( ... ); $build->create_build_script;
To install JSON::CPAN::Meta, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSON::CPAN::Meta
CPAN shell
perl -MCPAN -e shell install JSON::CPAN::Meta
For more information on module installation, please visit the detailed CPAN module installation guide.