Constructor, optionally takes the name of a config file; calls load_config() automatically.
Loads the configuration (or resets it). If there is trouble reading the configuration, it will supply a default empty configuration.
This call will die if the configuration is available, not undefined and does not evaluate to a hash.
A frontend to load_backend(). Takes a list of backends to be processed in priority.
Gets the parameters for the backend, name and arguments. Requires the module for the backend via require_backend() and on success, constructs an object from that module with the supplied arguments and stores it in the backend list.
The $backend argument can either be a hashref or string, this is detailed in some comments in load_backends().
If the backend supplied cannot be loaded, it will die with NO_BACKEND_FOUND.
Attempts to use the module that corresponds to the backend name. This will try a couple of namespaces to load a backend:
On success, it will return the module name used. Otherwise, undef.
Convenience call to access the config hash.
Convenience call to access the config filename.
Returns the lookup order of the various MIME backends as arrayref.
In the instance that this does not already exist when it is called, a new, empty arrayref will be created and returned.