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 (12k, 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 2 here, either just the .pm file, the full
source here or from
CPAN, or a Debian package here or from my repo.
defer.pm(11k, and sig)
constant-defer-2.tar.gz(34k, and sig)
libconstant-defer-perl_2-1_all.deb(14k, 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 in
my directory at
backpan.
This page Copyright 2009 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.)