From ef11e7c3af4b54dcd1e1d831aaa97525942aa4d2 Mon Sep 17 00:00:00 2001 From: Alexandr Ciornii Date: Mon, 27 Apr 2009 19:36:00 +0300 Subject: [PATCH] Require Module::Install 0.80 for dist creation. This will make Makefile.PL simpler and 'auto_install' less bothering (1 question less under CPAN/CPANPLUS). --- Makefile.PL | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index a42d4a91..a0fa7066 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,11 +1,9 @@ use strict; -use inc::Module::Install; +use inc::Module::Install 0.80; #better handling of auto_install { no warnings 'redefine'; - *recommends_hack = $Module::Install::VERSION > 0.70 ? - sub { recommends(@_); $_[0] } : - \&recommends; + *recommends_hack = sub { recommends(@_); $_[0] }; } name('Plagger');