From: Graham Knop Date: Mon, 17 Jun 2013 23:39:04 +0000 (-0400) Subject: take conflicts from Moo::Conflicts module X-Git-Tag: v1.003000~41 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df9d74312c59b099c35727495e8902c6d03b384b;p=gitmo%2FMoo.git take conflicts from Moo::Conflicts module --- diff --git a/Makefile.PL b/Makefile.PL index 198acf7..631ce86 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -84,10 +84,9 @@ WriteMakefile( no_index => { directory => [ 'xt' ] }, - x_breaks => { - # enter conflicting data here, *and* in Moo::Conflicts - 'HTML::Restrict' => '2.1.5', - }, + Moo::Conflicts->can('conflicts') ? ( + x_breaks => { Moo::Conflicts->conflicts } + ) : (), }, ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()), LICENSE => 'perl',