The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.09 - 2017-12-28

  • setting a return_value or side_effect when mocking one sub doesn't affect any other subs mocked (fixes #25)
  • params passed into a mocked sub will only be returned if return_value is set to "params" (closes #26)


Mock package, object and standard subroutines, with unit testing in mind.
Provides for Mock::Sub