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

# Cache::NullCache(3pm)

## NAME

Cache::NullCache -- implements the Cache interface.

## DESCRIPTION

The NullCache class implements the Cache::Cache interface, but does not actually persist data.  This is useful when developing and debugging a system and you wish to easily turn off caching.  As a result, all calls to get and get\_object will return undef.

## SYNOPSIS

```
  use Cache::NullCache;
  my $cache = new Cache::NullCache( );
  See Cache::Cache for the usage synopsis.
```

## METHODS

See Cache::Cache for the API documentation.

## OPTIONS

See Cache::Cache for standard options.

## PROPERTIES

See Cache::Cache for default properties.

## SEE ALSO

Cache::Cache

## AUTHOR

Original author: Jay Sachs

Last author:     `$Author:` dclinton $

Copyright (C) 2001 Jay Sachs, 2002 DeWitt Clinton
