X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=blobdiff_plain;f=lib%2FConfig%2FAny.pm;h=4c614d7b7828fbe926659f066902f1f03e3d0f1a;hp=cd00963a4ad1045d5b843661f136aa38fd2483f2;hb=a86df341bff3173831af40e70e915c8ea701cacf;hpb=803bbb1153db2f996a881286fdfe81eaa3c75b24 diff --git a/lib/Config/Any.pm b/lib/Config/Any.pm index cd00963..4c614d7 100644 --- a/lib/Config/Any.pm +++ b/lib/Config/Any.pm @@ -6,7 +6,7 @@ use warnings; use Carp; use Module::Pluggable::Object (); -our $VERSION = '0.16'; +our $VERSION = '0.23'; =head1 NAME @@ -142,7 +142,9 @@ sub _load { } # figure out what plugins we're using - my @plugins = $force ? @{ $args->{ force_plugins } } : $class->plugins; + my @plugins = $force + ? map { eval "require $_;"; $_; } @{ $args->{ force_plugins } } + : $class->plugins; # map extensions if we have to my ( %extension_lut, $extension_re );