FICHA · MANJARO

perl-test-mockmodule

Override subroutines in a module for unit testing

  • Library
  • NONE
  • Dev
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Perl tests can override functions inside a module to isolate behavior or simulate hard-to-reproduce conditions. This helps unit tests avoid real network calls, time delays, or external dependencies.

It is a developer testing library. Overrides should be restored after each test so one case does not silently change another.

Permissions

Permissions not analysed for this source yet.