# man > Cache::RemovalStrategy(3pm)

---
type: CommandReference
command: Cache::RemovalStrategy
mode: perldoc
section: 3pm
source: perldoc
---

## Quick Reference

- `$r->remove_size($cache, $size)` — remove entries from cache totaling at least `$size`

## Name

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

## Synopsis

perl
use Cache::RemovalStrategy;
# Subclass must implement remove_size()
## Methods

- `$r->remove_size($cache, $size)` — when invoked, removes entries from the cache that total at least `$size` in size.

## See Also

`Cache`