NAME

Cache::LRU - a simple, fast implementation of LRU cache in pure perl

SYNOPSIS

use Cache::LRU;

my $cache = Cache::LRU->new(
    size => $max_num_of_entries,
);

$cache->set($key => $value);

$value = $cache->get($key);

$removed_value = $cache->remove($key);

AUTHOR

Kazuho Oku

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>