#1111498 ITP: libunconstant-perl -- unconstant constant keywork for testing or mocking purpose

Package:
wnpp
Source:
wnpp
Submitter:
Bastien Roucaries
Date:
2025-08-18 16:22:02 UTC
Severity:
normal
#1111498#5
Date:
2025-08-18 16:20:38 UTC
From:
To:
* Package name    : libunconstant-perl
  Version         : 0.09-1
  Upstream Contact: https://metacpan.org/release/unconstant
* URL             : https://metacpan.org/release/unconstant
* License         : Artistic-2
  Programming Lang: Perl
  Description     : unconstant constant keywork for testing or mocking purpose

unconstant provides an alternative implementation of constant. This
implementation stops perl from inlining the constant, stops constant folding,
and stops dead code removal.

This is useful for testing where a package internally declares and
uses a constant that you want to change. This is common when wanting to test
modules that make use of constants.