# phpman > perldoc > Cache::NullCache

## NAME
    [Cache::NullCache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ANullCache/markdown) -- implements the Cache interface.

## DESCRIPTION
    The NullCache class implements the [Cache::Cache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACache/markdown) 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](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ANullCache/markdown);

      my $cache = new [Cache::NullCache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ANullCache/markdown)( );

      See [Cache::Cache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACache/markdown) for the usage synopsis.

## METHODS
    See [Cache::Cache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACache/markdown) for the API documentation.

## OPTIONS
    See [Cache::Cache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACache/markdown) for standard options.

## PROPERTIES
    See [Cache::Cache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACache/markdown) for default properties.

## SEE ALSO
    [Cache::Cache](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACache/markdown)

## AUTHOR
    Original author: Jay Sachs

    Last author: $Author: dclinton $

    Copyright (C) 2001 Jay Sachs, 2002 DeWitt Clinton

