makemaker - How do I add multiple Perl modules to Makefile.PL? -


How many PM files are searching for some insight about adding to MakeMaker script?

I see and all the examples look like a file, how do I add more than one file?

  Use ExtUtils :: MakeMaker; WriteMakefile (NAME = & gt; 'Your :: Module', VERSION_FROM = & gt; 'Lib / Your / module.pm');  

Do I just add another set of values?

  Usage ExtUtils :: MakeMaker; WriteMakefile (NAME = & gt; Your :: Module ', VERSION_FROM = & gt;' lib / Your / Module.pm 'NAME = & gt; Your: Module 2', VERSION_FROM = & gt; 'lib / Your / Module2.pm ');  

Maybe you can try using PM Are there. The doctor says:

For installing .hp files files and * .pl files eg

I was looking through some other modules downloaded for an example from your use of CAPN, and found it in code:

  WriteMakefile '' NAME '= & gt; GD ',' VERSION_FROM '= & gt; GD.pm ',' PREREQ_PM '= & gt; {'Math :: Trig' = & gt; 0,}, 'PM' = & gt; {'GDPM' => $ (INST_LIBDIR) / GDPM, 'GD / Polyline PM' => $ (INST_LIBDIR) / GD / Polyline PM ',' GD / Polygon PM '=> '$ (INST_LIBDIR) /GD/Polygon.pm', 'GD / Simple. PM '= & gt; '$ (INST_LIBDIR) / GD / AssPLPM', 'GD / Image PM' = & gt; '$ (INST_LIBDIR) /GD/Image.pm', 'GD / Group.pm' = & gt; $ (INST_LIBDIR) /GD/Group.pm ',' qd.pl '= & gt; $ (INST_LIBDIR) /qd.pl '},  

I suspect that the code you post will work because the code you have written is WriteMakefile function has duplicate keys.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -