devel/p5-constant-defer - The NetBSD Packages Collection

constant subs with deferred value calculation

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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64p5-constant-defer-6nb1.tgz
NetBSD 10.0aarch64p5-constant-defer-6nb1.tgz
NetBSD 10.0earmv6hfp5-constant-defer-6nb1.tgz
NetBSD 10.0earmv6hfp5-constant-defer-6nb1.tgz
NetBSD 10.0earmv7hfp5-constant-defer-6nb1.tgz
NetBSD 10.0earmv7hfp5-constant-defer-6nb1.tgz
NetBSD 10.0i386p5-constant-defer-6nb1.tgz
NetBSD 10.0powerpcp5-constant-defer-6nb1.tgz
NetBSD 10.0powerpcp5-constant-defer-6nb1.tgz
NetBSD 10.0x86_64p5-constant-defer-6nb1.tgz
NetBSD 10.0x86_64p5-constant-defer-6nb1.tgz
NetBSD 8.0i386p5-constant-defer-6.tgz
NetBSD 8.0i386p5-constant-defer-6nb1.tgz
NetBSD 8.0powerpcp5-constant-defer-6nb1.tgz
NetBSD 8.0powerpcp5-constant-defer-6nb1.tgz
NetBSD 8.0x86_64p5-constant-defer-6.tgz
NetBSD 8.0x86_64p5-constant-defer-6nb1.tgz
NetBSD 9.0aarch64p5-constant-defer-6nb1.tgz
NetBSD 9.0aarch64p5-constant-defer-6.tgz
NetBSD 9.0aarch64p5-constant-defer-6nb1.tgz
NetBSD 9.0alphap5-constant-defer-6.tgz
NetBSD 9.0alphap5-constant-defer-6nb1.tgz
NetBSD 9.0alphap5-constant-defer-6nb1.tgz
NetBSD 9.0earmp5-constant-defer-6.tgz
NetBSD 9.0earmp5-constant-defer-6nb1.tgz
NetBSD 9.0earmp5-constant-defer-6nb1.tgz
NetBSD 9.0earmv6hfp5-constant-defer-6.tgz
NetBSD 9.0earmv6hfp5-constant-defer-6nb1.tgz
NetBSD 9.0earmv6hfp5-constant-defer-6nb1.tgz
NetBSD 9.0earmv7hfp5-constant-defer-6nb1.tgz
NetBSD 9.0earmv7hfp5-constant-defer-6nb1.tgz
NetBSD 9.0earmv7hfp5-constant-defer-6.tgz
NetBSD 9.0i386p5-constant-defer-6.tgz
NetBSD 9.0i386p5-constant-defer-6.tgz
NetBSD 9.0i386p5-constant-defer-6nb1.tgz
NetBSD 9.0m68kp5-constant-defer-6nb1.tgz
NetBSD 9.0m68kp5-constant-defer-6nb1.tgz
NetBSD 9.0mips64ebp5-constant-defer-6.tgz
NetBSD 9.0mips64ebp5-constant-defer-6nb1.tgz
NetBSD 9.0mips64ebp5-constant-defer-6nb1.tgz
NetBSD 9.0powerpcp5-constant-defer-6nb1.tgz
NetBSD 9.0powerpcp5-constant-defer-6.tgz
NetBSD 9.0powerpcp5-constant-defer-6nb1.tgz
NetBSD 9.0sparc64p5-constant-defer-6.tgz
NetBSD 9.0sparc64p5-constant-defer-6nb1.tgz
NetBSD 9.0sparc64p5-constant-defer-6nb1.tgz
NetBSD 9.0sparcp5-constant-defer-6.tgz
NetBSD 9.0sparcp5-constant-defer-6nb1.tgz
NetBSD 9.0sparcp5-constant-defer-6nb1.tgz
NetBSD 9.0x86_64p5-constant-defer-6nb1.tgz
NetBSD 9.0x86_64p5-constant-defer-6.tgz
NetBSD 9.0x86_64p5-constant-defer-6.tgz
NetBSD 9.0x86_64p5-constant-defer-6nb1.tgz
NetBSD 9.0x86_64p5-constant-defer-6nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.