Skip to content

geofffranks/test-mockmodule

Repository files navigation

Test::MockModule - mock subroutines in a module

See the LICENSE section in lib/Test/MockModule.pm for usage and distribution rights.

Installation

Run these commands in the source directory:

perl Build.PL
./Build
./Build test
./Build install

Then delete the source directory tree since it's no longer needed.

Alternatively, you can simply install the module via cpanm:

cpanm Test::MockModule

Documentation

Run perldoc Test::MockModule to read the full documentation.