Test::MockFile::Plugin - Plugin base class
package Test::MockFile::Plugin::YourCustomPlugin; use base 'Test::MockFile::Plugin'; sub register { my ( $self ) = @_; # Code to setup your plugin here ... }
Test::MockFile::Plugin is an abstract base class for Test::MockFile plugins.
Constructor provided to all Plugin packages so they have a location to store their internal data.
$plugin->register();
This method will be called by Test::MockFile::Plugins on imports.
Test::MockFile
To install Test::MockFile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::MockFile
CPAN shell
perl -MCPAN -e shell install Test::MockFile
For more information on module installation, please visit the detailed CPAN module installation guide.