FICHA · MANJARO

perl-test-mocktime

Replaces actual time with simulated time

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

Description

Perl tests can replace real time with simulated time so date and clock behavior becomes predictable. This is useful for testing expiration, scheduling, retries, and time-based logic without waiting in real life.

It is a developer testing library. Simulated time should be scoped carefully so it does not leak into unrelated tests or hide timezone and clock-boundary issues.

Permissions

Permissions not analysed for this source yet.