Skip to content

Instantly share code, notes, and snippets.

@dagolden
Created April 1, 2015 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dagolden/4a7177687f35f3d78b7b to your computer and use it in GitHub Desktop.
Save dagolden/4a7177687f35f3d78b7b to your computer and use it in GitHub Desktop.
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