use Carp;
use Module::Pluggable::Object ();
-our $VERSION = '0.16';
+our $VERSION = '0.20';
=head1 NAME
}
# 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 );
sub extensions {
my $class = shift;
my @ext
- = map { $_->extensions } grep { $_->is_supported } $class->plugins;
+ = map { $_->extensions } $class->plugins;
return wantarray ? @ext : \@ext;
}