Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-constant-defer | Distribution: Mageia |
Version: 6.0.0 | Vendor: Mageia.Org |
Release: 6.mga8 | Build date: Sat Feb 15 01:40:41 2020 |
Group: Development/Perl | Build host: localhost |
Size: 67002 | Source RPM: perl-constant-defer-6.0.0-6.mga8.src.rpm |
Packager: umeabot <umeabot> | |
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 the second and 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) like a plain 'constant' since it's not a single scalar value. In the current implementation a deferred constant becomes a plain one after the first use, so may inline etc in code compiled after that (see the /IMPLEMENTATION manpage below).
GPL+ or Artistic
* Sat Feb 15 2020 umeabot <umeabot> 6.0.0-6.mga8 + Revision: 1523707 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %makeinstall_std * Tue Mar 12 2019 tv <tv> 6.0.0-5.mga7 + Revision: 1374677 - fix summary * Wed Sep 19 2018 umeabot <umeabot> 6.0.0-4.mga7 + Revision: 1266674 - Mageia 7 Mass Rebuild
/usr/share/doc/perl-constant-defer /usr/share/doc/perl-constant-defer/COPYING /usr/share/doc/perl-constant-defer/Changes /usr/share/doc/perl-constant-defer/META.json /usr/share/doc/perl-constant-defer/META.yml /usr/share/doc/perl-constant-defer/MYMETA.yml /usr/share/doc/perl-constant-defer/README /usr/share/doc/perl-constant-defer/SIGNATURE /usr/share/doc/perl-constant-defer/examples /usr/share/doc/perl-constant-defer/examples/instance.pl /usr/share/doc/perl-constant-defer/examples/simple.pl /usr/share/man/man3/constant::defer.3pm.xz /usr/share/perl5/vendor_perl/constant /usr/share/perl5/vendor_perl/constant/defer.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Oct 13 10:18:22 2024