Ubuntu Manpages

Cache::Ref::CAR::Base

base clase for CAR and CART

    # see CAR or CART

This role provides the common functionality for Cache::Ref::CAR and Cache::Ref::CART.

Fetch data from the cache
Insert data to the cache
Remove entries from the cache. Not in the original CAR algorithm description.
Removes $x elements from the cache (hopefully the most useless ones). The default value for $x is 1.

# ex: set sw=4 et:

Yuval Kogman

This software is copyright (c) 2010 by Yuval Kogman.

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