$caller->log->error(qq/Couldn't load plugin "$plugin", "$@"/);
}
else {
- push @plugins, " + $plugin";
+ push @plugins, $plugin;
no strict 'refs';
push @{"$caller\::ISA"}, $plugin;
}
}
my $t = Text::ASCIITable->new;
$t->setCols('Class');
+ $t->setColWidth( 'Class', 75, 1 );
$t->addRow($_) for @plugins;
$caller->log->debug( 'Loaded plugins', $t->draw )
if ( @plugins && $caller->debug );