Cache::Ref::CAR::Base3pm
Base clase for car and cart
Usage
# see CAR or CART
Overview
This role provides the common functionality for Cache::Ref::CAR and Cache::Ref::CART.
Methods
- get @keys
-
Fetch data from the cache
- set $key, $value
-
Insert data to the cache
- remove @keys
-
Remove entries from the cache. Not in the original CAR algorithm description.
- expire $x
-
Removes
$xelements from the cache (hopefully the most useless ones). The default value for$xis 1.
# ex: set sw=4 et:
Copyright and license
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.
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.