FICHA · MANJARO

perl-sub-override

Perl extension for easily overriding subroutines

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

Description

Perl tests and frameworks can temporarily replace subroutines with alternate implementations. This is useful for mocking dependencies, intercepting behavior, or adapting legacy code during tests.

It is a developer library. Overriding routines can hide real behavior, so tests should restore originals and avoid using overrides in production paths unless the design is explicit.

Permissions

Permissions not analysed for this source yet.