14 |
|
|
15 |
=head1 VERSION |
=head1 VERSION |
16 |
|
|
17 |
Version 0.06 |
Version 0.07 |
18 |
|
|
19 |
=cut |
=cut |
20 |
|
|
21 |
our $VERSION = '0.06'; |
our $VERSION = '0.07'; |
22 |
|
|
23 |
=head1 SYNOPSIS |
=head1 SYNOPSIS |
24 |
|
|
166 |
|
|
167 |
$log->logconfess("can't find database name") unless ($database); |
$log->logconfess("can't find database name") unless ($database); |
168 |
|
|
169 |
my $cache_file = "$cache_path/$prefix#$id"; |
my $cache_file = "$cache_path/$database/$prefix#$id"; |
170 |
$cache_file =~ s#//#/#go; |
$cache_file =~ s#//#/#go; |
171 |
|
|
172 |
open(my $fh, '>>', '/tmp/foo'); |
open(my $fh, '>>', '/tmp/foo'); |
173 |
print $fh "LOAD $cache_path / $prefix # $id ==> $cache_file\n"; |
print $fh "LOAD $cache_path / $database / $prefix # $id ==> $cache_file\n"; |
174 |
close($fh); |
close($fh); |
175 |
|
|
176 |
$log->debug("using cache_file $cache_file"); |
$log->debug("using cache_file $cache_file"); |