<?xml version="1.0" encoding="windows-1252"?>
<node id="1015716" title="what format should Makefile.pl be and where is the list of attributes" created="2013-01-28 10:17:58" updated="2013-01-28 10:17:58">
<type id="115">
perlquestion</type>
<author id="1005218">
gideondsouza</author>
<data>
<field name="doctext">
&lt;p&gt;So my question is pretty simple.&lt;/p&gt;

&lt;p&gt;I noticed most modules use ExtUtils::MakeMaker and their Makefile.PL looks like this:&lt;/p&gt;
&lt;code&gt;
 use ExtUtils::MakeMaker;
  WriteMakefile( ATTRIBUTE =&gt; VALUE [, ...] );
&lt;/code&gt;

&lt;p&gt;But some distributions, like Net::GitHub look very different:&lt;a href='https://metacpan.org/source/FAYLAND/Net-GitHub-0.50/Makefile.PL' &gt;Link to the Makefile.pl.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This seems to use inc::Module::Install.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Q:&lt;/b&gt; Which method is is preferred?&lt;/li&gt;
&lt;li&gt;Additionally I noticed Net::GitHub has a repository attribute with a link to the github repo, I didn't know about this attrib, and it seems pretty useful since both search.cpan.org and metacpan.org will show this on the release info. 
&lt;b&gt;Q:&lt;/b&gt; Where can I find a list of attributes needed/used by various cpan clients?&lt;/li&gt;
&lt;/ul&gt;</field>
</data>
</node>
