Tie-Cache reviews

RSS | Module Info | Add a review of Tie-Cache

Tie-Cache (0.21) *****

Very easy, very nice API to add a cache with a count limit. I looked around for other APIs but this package provides the best for my count limit cache requirement.

I use orisacache syntax like this

my $cache;

tie %$cache, 'Tie::Cache', {MaxCount => 100};

while ($something) {

my $value = $cache->{$key} ||= $obj->expensive_lookup($key);

}

I dinged the documentation as it does not show hash reference and orisacache examples.

I dinged Ease of Use as it was an absolute pain to build this package into an RPM with cpanspec and not have it pull in Tie::Cache::LRU as well.

Thanks,
Mike

mrdvt92