Looking for some insight on how to add multiple PM files to the MakeMaker script?
I see this documentation and all the examples look like one file is added, how do I add multiple files?
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Your::Module',
VERSION_FROM => 'lib/Your/Module.pm'
);
Do I just add another set of values?
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Your::Module',
VERSION_FROM => 'lib/Your/Module.pm'
NAME => 'Your::Module2',
VERSION_FROM => 'lib/Your/Module2.pm'
);
Perhaps you could try to use
PM. The ExtUtils::MakeMaker doc says:I went looking through some other modules I downloaded from CPAN for an example of its usage, and I found it in the GD Makefile.PL code:
I doubt the code you posted would work because the hash you are passing to the
WriteMakefilefunction has duplicate keys.