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

perl-constant-defer-6-bp153.1.14 RPM for noarch

From OpenSuSE Leap 15.3 for noarch

Name: perl-constant-defer Distribution: SUSE Linux Enterprise 15 SP3
Version: 6 Vendor: openSUSE
Release: bp153.1.14 Build date: Sat Mar 6 02:21:23 2021
Group: Development/Libraries/Perl Build host: lamb61
Size: 60510 Source RPM: perl-constant-defer-6-bp153.1.14.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.26.1/constant
/usr/lib/perl5/vendor_perl/5.26.1/constant/defer.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/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 14:43:28 2024