From: Vincent Pit Date: Fri, 2 Nov 2012 01:08:09 +0000 (-0200) Subject: Simplify Config loading in Makefile.PL X-Git-Tag: rt80388~2 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=12277e85746cb2d277220aaa385e4af38219842d;p=perl%2Fmodules%2FVariable-Magic.git Simplify Config loading in Makefile.PL --- diff --git a/Makefile.PL b/Makefile.PL index 96b2630..35eea0c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,11 +4,7 @@ use strict; use warnings; use ExtUtils::MakeMaker; -BEGIN { - eval { require Config }; - die 'OS unsupported' if $@; - Config->import(qw<%Config>); -} +use Config; my @DEFINES; my %macro;