Skip to content

Commit

Permalink
Only add MIME::Parser if we are v5.12 or later
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed May 8, 2023
1 parent 4af5385 commit eb1c9f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.PL
Expand Up @@ -123,6 +123,8 @@ my %WriteMakefile = (
},

'PREREQ_PM' => {
'App::a2p' => '0',
'App::find2perl' => '0',
},

'META_MERGE' => {
Expand All @@ -143,6 +145,7 @@ my %WriteMakefile = (
clean => { FILES => "$dist-*" },
);

$WriteMakefile{PREREQ_PM}{'MIME::Parser'} if $^V >= v5.12.0;

sub arguments { \%WriteMakefile }

Expand Down

0 comments on commit eb1c9f2

Please sign in to comment.