Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-constant-defer-6-2.35 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: perl-constant-defer Distribution: openSUSE:Factory:zSystems
Version: 6 Vendor: openSUSE
Release: 2.35 Build date: Mon Aug 7 18:56:47 2023
Group: Development/Libraries/Perl Build host: s390zp22
Size: 60228 Source RPM: perl-constant-defer-6-2.35.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/constant-defer/
Summary: 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.

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.

Provides

Requires

License

GPL-3.0+

Changelog

* Thu Apr 23 2015 coolo@suse.com
  - add the license to cpanspec.yml
* Thu Apr 23 2015 cdenicolo@suse.com
  - license update: GPL-3.0+
    license version is 3.0
* Tue Apr 14 2015 coolo@suse.com
  - updated to 6
    see /usr/share/doc/packages/perl-constant-defer/Changes
* Mon Jun 16 2014 coolo@suse.com
  - fix license - GPL-3.0+
* Thu Apr 14 2011 coolo@opensuse.org
  - initial package 5
    * created by cpanspec 1.78.04

Files

/usr/lib/perl5/vendor_perl/5.38.0/constant
/usr/lib/perl5/vendor_perl/5.38.0/constant/defer.pm
/usr/share/doc/packages/perl-constant-defer
/usr/share/doc/packages/perl-constant-defer/COPYING
/usr/share/doc/packages/perl-constant-defer/Changes
/usr/share/doc/packages/perl-constant-defer/README
/usr/share/doc/packages/perl-constant-defer/examples
/usr/share/doc/packages/perl-constant-defer/examples/instance.pl
/usr/share/doc/packages/perl-constant-defer/examples/simple.pl
/usr/share/man/man3/constant::defer.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 12:39:58 2024