<p><b>@haarg</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/17#discussion_r164298052">Makefile.PL</a>:</p>
<pre style='color:#555'>&gt; -requires &#39;String::CamelCase&#39;           =&gt; &#39;0.02&#39;;
-requires &#39;Sub::Util&#39;                   =&gt; &#39;1.40&#39;;
-requires &#39;Try::Tiny&#39;                   =&gt; 0;
-
-# core, but specific versions not available on older perls
-requires &#39;Digest::MD5&#39;                 =&gt; &#39;2.36&#39;;
-requires &#39;Exporter&#39;                    =&gt; &#39;5.63&#39;;
+sub _move_to {
+  my ($hash, $fromkey, $tokey) = @_;
+  $hash-&gt;{$tokey} = {
+    %{ $hash-&gt;{$tokey} || {} },
+    %{ delete($hash-&gt;{$fromkey}) || {} },
+  };
+}
+delete $eumm_args{META_MERGE} if $eumm_version &lt; 6.45_01;
+_move_to(\%eumm_args, &#39;CONFIGURE_REQUIRES&#39;, &#39;PREREQ_PM&#39;)
</pre>
<p>This doesn't accomplish much.  It's too late for configure prereqs to be satisfied here.  Deleting <code>CONFIGURE_REQUIRES</code> to silence the warning is the only useful thing that can be done.</p>

<hr>

<p>In <a href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/17#discussion_r164298079">Makefile.PL</a>:</p>
<pre style='color:#555'>&gt; -requires &#39;Exporter&#39;                    =&gt; &#39;5.63&#39;;
+sub _move_to {
+  my ($hash, $fromkey, $tokey) = @_;
+  $hash-&gt;{$tokey} = {
+    %{ $hash-&gt;{$tokey} || {} },
+    %{ delete($hash-&gt;{$fromkey}) || {} },
+  };
+}
+delete $eumm_args{META_MERGE} if $eumm_version &lt; 6.45_01;
+_move_to(\%eumm_args, &#39;CONFIGURE_REQUIRES&#39;, &#39;PREREQ_PM&#39;)
+  if $eumm_version &lt; 6.51_03;
+_move_to(\%eumm_args, &#39;BUILD_REQUIRES&#39;, &#39;PREREQ_PM&#39;)
+  if $eumm_version &lt; 6.55_01;
+$eumm_args{NO_MYMETA} = 1
+  if $eumm_version &gt;= 6.57_02 and $eumm_version &lt; 6.57_07;
+_move_to(\%eumm_args, &#39;TEST_REQUIRES&#39;, &#39;PREREQ_PM&#39;)
</pre>
<p>This should move the prereqs to <code>BUILD_REQUIRES</code> and be moved before <code>BUILD_REQUIRES</code> gets conditionally moved to <code>PREREQ_PM</code>.</p>

<hr>

<p>In <a href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/17#discussion_r164298173">maint/Makefile.PL.include</a>:</p>
<pre style='color:#555'>&gt; +use lib &#39;Distar/lib&#39;;
+use Distar 0.001;
+
+author &#39;Caelum: Rafael Kitover &lt;rkitover@cpan.org&gt;&#39;;
+
+manifest_include &#39;t/backcompat/0.04006/lib&#39; =&gt; qr/.*\.pm$/;
+manifest_include &#39;t/bin&#39; =&gt; qr/.*/;
+
+use FindBin;
+use lib &quot;$FindBin::Bin/lib&quot;;
+require DBIx::Class::Schema::Loader::Optional::Dependencies;
+my $optdeps = &#39;DBIx::Class::Schema::Loader::Optional::Dependencies&#39;;
+my @req_groups = keys %{ $optdeps-&gt;req_group_list };
+my @rdbms_groups = grep { /rdbms/ } @req_groups;
+my @other_groups = grep { !/rdbms/ } @req_groups;
+our (%dev_requires, %runtime_suggests);
</pre>
<p>I think this is a confusing way to communicate with the rest of the <code>Makefile.PL</code>.</p>

<hr>

<p>In <a href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/17#discussion_r164298286">Makefile.PL</a>:</p>
<pre style='color:#555'>&gt; @@ -2,67 +2,103 @@ use warnings;
 use strict;
 
 use 5.008001;
-BEGIN { unshift @INC, &#39;.&#39; unless $INC[-1] eq &#39;.&#39;; }
-use inc::Module::Install 1.00;
-
-use Getopt::Long();
-
-my $getopt = Getopt::Long::Parser-&gt;new(
-    config =&gt; [qw/gnu_getopt bundling_override no_ignore_case pass_through/]
+use ExtUtils::MakeMaker;
+our (%dev_requires, %runtime_suggests);
+(do &#39;./maint/Makefile.PL.include&#39; or die $@) unless -f &#39;META.yml&#39;;
+
+my $eumm_version = eval $ExtUtils::MakeMaker::VERSION;
+my %eumm_args = (
+    NAME =&gt; &#39;DBIx::Class::Schema::Loader&#39;,
+    AUTHOR =&gt; &#39;Caelum: Rafael Kitover &lt;rkitover@cpan.org&gt;&#39;,
</pre>
<p>Redundant with Distar's author handing.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/17#pullrequestreview-92051683">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AASeAuwpjAYJA_EyCLGSHESVWlYUJBI6ks5tPG6GgaJpZM4Rvk8o">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAh7tnJYV0VmRk0vEx_n-wzurt7foks5tPG6GgaJpZM4Rvk8o.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/dbix-class-schema-loader/pull/17#pullrequestreview-92051683"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/dbsrgits/dbix-class-schema-loader","title":"dbsrgits/dbix-class-schema-loader","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/dbsrgits/dbix-class-schema-loader"}},"updates":{"snippets":[{"icon":"PERSON","message":"@haarg commented on #17"}],"action":{"name":"View Pull Request","url":"https://github.com/dbsrgits/dbix-class-schema-loader/pull/17#pullrequestreview-92051683"}}}</script>