Test::Run::Base::PlugHelpers - base class for Test::Run's classes with pluggable helpers.
Registers a pluggable helper class (commonly done during initialisation). %args contain the following keys:
The 'id' identifying this class type.
The base class to use as the ultimate primary class of the plugin-based class.
The method from which to collect the plugins. It should be defined for every base class in the hierarchy of the main class (that instantiates the helpers) and is traversed there.
Calc the namespace to put the helper with the ID
Instantiates a new pluggable helper object of the ID $id and with $args passed to the constructor.
TO OVERRIDE: this method determines the base namespace used as the base for the pluggable helpers classes.
This file is freely distributable under the MIT X11 license.
Shlomi Fish, http://www.shlomifish.org/.