constant::defer makes Perl constant subs, with the value calculation done only when first used. This is handy for a big value or slow calculation only needed sometimes. See the online man page (16k, html) for more.

constant-defer is free software (free as in freedom), published under the terms of the GNU General Public License (v3 or higher).

Download version 6 here, either just the .pm file, the full source here or from CPAN, or a Debian package here or from my repo. (14k, and sig)
constant-defer-6.tar.gz (43k, and sig)
libconstant-defer-perl_6-0.1_all.deb (15k, and sig)

The sig files are Gnu PG ascii armoured signatures generated from my key. There's a SIGNATURE file inside the .tar.gz for cpansign too. Older sources can be found at backpan.

This page Copyright 2009, 2010, 2011, 2013, 2014, 2015, 2016, 2017 Kevin Ryde, except for the GPLv3 logo which is Copyright Free Software Foundation and used here in accordance with its terms.

This page is not constant.
(Back to the sitemap.)