ExtUtils::MakeMaker::CPANfile - cpanfile support for EUMM
# Makefile.PL
use ExtUtils::MakeMaker;
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';
};
ExtUtils::MakeMaker::CPANfile loads C in your distribution and modifies parameters for C in your Makefile.PL. Just use it after LExtUtils::MakeMaker, and prepare C.
As of this writing, complex version ranges in the cpanfile are simply ignored.
Copyright (C) Kenichi Ishigaki.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Kenichi Ishigaki ishigaki@cpan.org