Subject: | way to tell if a module failed to load |
When modules are loaded via Module::Pluggable, errors are caught but
are not thrown up the stack, so Module::Pluggble->import() finishes
normally.
It would be nice if there was an option to tell if a plugin failed to
load. perhaps 'error mode' or some such thing:
use Module::Pluggable
require => 1,
errmode => 'croak',
....
;
the default can be the same as before, perhaps just 'warn'.
I'd be happy to write a patch. let me know.