Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Makefile.PL after adding 'provides' metadata
use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Acme::Provides',
AUTHOR => q{David Golden <dagolden@cpan.org>},
VERSION => '0.01',
ABSTRACT => 'Demonstration of adding provides metadata',
LICENSE => 'artistic',
PL_FILES => { 'Provides.pm.PL' => '$(INST_LIB)/Acme/Provides.pm' },
META_ADD => {
provides => {
'Acme::Provides' => {
file => 'Provides.pm.PL',
version => '0.01',
},
},
},
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment