---
name: "Cache::RemovalStrategy"
section: "3pm"
platform: "linux"
package: "libcache-perl"
version: "2.11-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Cache::RemovalStrategy"
---

# Cache::RemovalStrategy(3pm)

abstract Removal Strategy interface for a Cache

## NAME

Cache::RemovalStrategy - abstract Removal Strategy interface for a Cache

## DESCRIPTION

## METHODS

- $r-\>remove\_size( $cache, $size )

  When invoked, removes entries from the cache that total at least `$size` in size.

## SEE ALSO

Cache

## AUTHOR

```
 Chris Leishman <chris@leishman.org>
 Based on work by DeWitt Clinton <dewitt@unto.net>
```

## COPYRIGHT

```
 Copyright (C) 2003-2006 Chris Leishman.  All Rights Reserved.
```

This module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. This program is free software; you can redistribute or modify it under the same terms as Perl itself.

`$Id:` RemovalStrategy.pm,v 1.4 2006/01/31 15:23:58 caleishm Exp $
