NAME
Cache::CodeBlock - caching via a code block
VERSION
Version 0.04
SYNOPSIS
use
Cache::CodeBlock (
%CHI
);
sub
my_data {
my
(
$self
,
@params
) =
@_
;
my
$historical
= cache {
...
return
$data
;
};
...
my
$neoteric
= cache {
...
return
$data
;
} 60,
$id
;
}
EXPORT
cache
AUTHOR
LNATION, <email at lnation.org>
BUGS
Please report any bugs or feature requests to bug-cache-codeblock at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cache-CodeBlock. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Cache::CodeBlock
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2022->2024 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)