Upstream software project

perl-constant-defer

Constant Subs with Deferred Value Calculation

About perl-constant-defer

Constant Subs with Deferred Value Calculation

This project links 2 native package records across 2 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

openSUSE Leap 15.6: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.perl-constant-defer: recorded package coverageopenSUSE Leap 15.61 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
perl-constant-defer
Publisher
Not authoritatively mapped
Native package records
2
Operating systems
opensuse-leap-15-6, opensuse-tumbleweed
License expression
GPL-3.0+
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

'constant::defer' creates a subroutine which on the first call runs given code to calculate its value, and on any subsequent calls just returns that value, like a constant. The value code is discarded once run, allowing it to be garbage collected. Deferring a calculation is good if it might take a lot of work or produce a big result but is only needed sometimes or only well into a program run. If it's never needed then the value code never runs. A deferred constant is generally not inlined or folded (see the perlop/Constant Folding manpage) since it's not a single scalar value. In the current implementation a deferred constant becomes a plain constant after the first use, so may inline etc in code compiled after that (see the /IMPLEMENTATION manpage below). See _examples/simple.pl_ in the constant-defer source code for a complete sample program.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

openSUSE Leap 15.6

  1. Package perl-constant-defer

    leap-15.6 (openSUSE Leap 15.6) (Development/Libraries/Perl): Constant Subs with Deferred Value Calculation

    6-bp156.3.1: noarch

    Source: perl-constant-defer

openSUSE Tumbleweed

  1. Package perl-constant-defer

    tumbleweed (openSUSE Tumbleweed) (Development/Libraries/Perl): Constant Subs with Deferred Value Calculation

    6-2.37: noarch

    Source: perl-constant-defer

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.