From: Rafael Kitover Date: Thu, 5 Aug 2010 01:45:10 +0000 (+0000) Subject: better version for Config::General X-Git-Tag: v0.20~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2b645c42bc8c5c33f533f7ea97c812f1fc1636d7;p=p5sagit%2FConfig-Any.git better version for Config::General --- diff --git a/lib/Config/Any/General.pm b/lib/Config/Any/General.pm index d16cf59..5c697e9 100644 --- a/lib/Config/Any/General.pm +++ b/lib/Config/Any/General.pm @@ -52,9 +52,7 @@ sub load { $args->{ -ConfigFile } = $file; require Config::General; - - croak "Config::General 2.47 or later required" - unless Config::General->VERSION('2.47'); + Config::General->VERSION('2.47'); $args->{ -ForceArray } = 1 unless exists $args->{ -ForceArray };