Subject: | Instantiate Should ->can() First |
In some situations, a plugin in a given namespace may be missing the method new, or the method in sub_name called when instantiate is set. While this is a programming error, it could also accidentally wreak havok on other otherwise working plugins.
It would be nice if M::P looked for the specified instantiator sub before trying to call it and adding it to the plugins. In cases where the sub is missing, just skip the module. I can trap the "Can't locate object method 'new'" errors, but no further plugis will get loaded.