1ExtUtils::MakeMaker::CPUAsNefrilCeo(n3t)ributed Perl DocEuxmteUnttialtsi:o:nMakeMaker::CPANfile(3)
2
3
4

NAME

6       ExtUtils::MakeMaker::CPANfile - cpanfile support for EUMM
7

SYNOPSIS

9           # Makefile.PL
10           use ExtUtils::MakeMaker::CPANfile;
11
12           WriteMakefile(
13             NAME => 'Foo::Bar',
14             AUTHOR => 'A.U.Thor <author@cpan.org>',
15           );
16
17           # cpanfile
18           requires 'ExtUtils::MakeMaker' => '6.17';
19           on test => sub {
20             requires 'Test::More' => '0.88';
21           };
22

DESCRIPTION

24       ExtUtils::MakeMaker::CPANfile loads "cpanfile" in your distribution and
25       modifies parameters for "WriteMakefile" in your Makefile.PL.  Just use
26       it instead of ExtUtils::MakeMaker (which should be loaded internally),
27       and prepare "cpanfile".
28
29       As of version 0.03, ExtUtils::MakeMaker::CPANfile also removes
30       WriteMakefile parameters that the installed version of
31       ExtUtils::MakeMaker doesn't know, to avoid warnings.
32

LIMITATION

34   complex version ranges
35       As of this writing, complex version ranges are simply ignored.
36
37   dynamic config
38       Strictly speaking, "cpanfile" is a Perl script, and may have some
39       conditions in it. That said, you don't need to run Makefile.PL to
40       determine prerequisites in most cases. Hence, as of 0.06,
41       ExtUtils::MakeMaker::CPANfile sets "dynamic_config" to false by
42       default. If you do need a CPAN installer to run Makefile.PL to
43       customize prerequisites dynamically, set "dynamic_config" to true
44       explicitly (via META_ADD/META_MERGE).
45

FOR MODULE AUTHORS

47       Though the minimum version requirement of ExtUtils::MakeMaker is
48       arbitrary set to 6.17 (the one bundled in Perl 5.8.1), you need at
49       least EUMM 6.52 (with CONFIGURE_REQUIRES support) when you release a
50       distribution.
51

LICENSE

53       Copyright (C) Kenichi Ishigaki.
54
55       This library is free software; you can redistribute it and/or modify it
56       under the same terms as Perl itself.
57

AUTHOR

59       Kenichi Ishigaki <ishigaki@cpan.org>
60
61
62
63perl v5.30.0                      2019-07-26  ExtUtils::MakeMaker::CPANfile(3)
Impressum