This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Yuki Kimoto - SPVM - Perl Club
How to create cpanfile
by "perl Makefile.PL"?
ExtUtils::MakeMaker::CPANfile makes it possible.
# Makefile.PL
use ExtUtils::MakeMaker::CPANfile;
WriteMakefile(
NAME => 'Foo::Bar',
AUTHOR => 'A.U.Thor <author@cpan.org>',
);
# cpanfile
requires 'ExtUtils::MakeMaker' => '6.17';
on test => sub {
requires 'Test::More' => '0.88';
};
This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Yuki Kimoto - SPVM - Perl Club
Yuki Kimoto - SPVM - Perl Club | Sciencx (2022-12-11T23:04:16+00:00) How to create cpanfile by “perl Makefile.PL”?. Retrieved from https://www.scien.cx/2022/12/11/how-to-create-cpanfile-by-perl-makefile-pl/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.