Cache::Ref::CAR::Base(3pm)

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 $x elements from the cache (hopefully the most useless ones). The default value for $x is 1.

# ex: set sw=4 et:

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

Author

Yuval Kogman

From libcache-ref-perl 0.04-1.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.