I am trying to do unit testing of the module. I need help and information , how to mock or stub a subroutine to test package.

I do not wish to use the module I came across on [cpan.](http://search.cpan.org/~simonflk/Test-MockModule-0.05/lib/Test/MockModule.pm)