p4raw-id: //depot/perl@30143
# Peter Gibbons: I wouldn't say I've been missing it, Bob!
-$VERSION = '3.4';
+$VERSION = '3.5';
sub import {
my $class = shift;
next unless $plugin =~ m!(?:[a-z\d]+)[a-z\d]!i;
- my $err = eval { $self->handle_finding_plugin($plugin) };
+ my $err = $self->handle_finding_plugin($plugin);
carp "Couldn't require $plugin : $err" if $err;
push @plugins, $plugin;
foreach my $plugin (Devel::InnerPackage::list_packages($path)) {
- my $err = eval { $self->handle_finding_plugin($plugin) };
+ my $err = $self->handle_finding_plugin($plugin);
#next if $err;
#next unless $INC{$plugin};
push @plugins, $plugin;
sub _require {
my $self = shift;
my $pack = shift;
+ local $@;
eval "CORE::require $pack";
return $@;
}