Subject: | Bug in Cache freeze wrapper |
Unless I'm missing something subtle, the freeze wrapper in Cache is broken:
sub freeze {
my Cache $self = shift;
my $key = shift;
return $self->entry($key)->freeze();
}
should be
sub freeze {
my Cache $self = shift;
my $key = shift;
return $self->entry($key)->freeze(@_);
}
(it's correct in the set wrapper)
Workaround is easy using Cache::Entry explicitly but I thought you'd like to know.
Regards
Julian