LaBrea-Tarpit
view release on metacpan or search on metacpan
Util/Util.pm view on Meta::CPAN
close_file
http_date
script_name
reap_kids
labrea_whoami
);
# autoload declarations
sub cache_is_valid;
sub update_cache;
sub upd_cache;
sub daemon2_cache;
sub share_open;
sub ex_open;
sub close_file;
sub http_date;
sub script_name;
sub page_is_current;
sub reap_kids;
sub labrea_whoami;
Util/Util.pm view on Meta::CPAN
optional $html and/or $short
The filename for the short cache is taken from
$look_n_feel{html_cache_file} . '.short'
returns: true on success
false if failed
=cut
sub update_cache {
my ($lnf,$htm,$sht) = @_;
return undef unless exists $lnf->{html_cache_file};
@_ = ($lnf->{html_cache_file},'',$htm,$sht);
goto &upd_cache;
}
=item $rv=upd_cache($filename,$pagename,$html,$short);
This is the way B<update_cache> should have worked the first time, sigh....
( run in 0.623 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )