| Module-New documentation | Contained in the Module-New distribution. |
Module::New::File::ModuleInstall
a template for Makefile.PL (with Module::Install).
Kenichi Ishigaki, <ishigaki at cpan.org>
Copyright (C) 2007-2009 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Module-New documentation | Contained in the Module-New distribution. |
package Module::New::File::ModuleInstall; use strict; use warnings; use Module::New::File; file 'Makefile.PL' => content { return <<'EOT'; use strict; use warnings; use inc::Module::Install; name '<%= $c->distname %>'; all_from '<%= $c->mainfile %>'; test_requires 'Test::More' => '0.47'; test_requires 'Test::UseAllModules' => '0.10'; % if ($c->repository) { resources( repository => '<%= $c->repository %>', ); % } WriteAll; EOT }; 1; __END__