CHI::Driver::Null - Nothing is cached


CHI documentation  | view source Contained in the CHI distribution.

Index


NAME

Top

CHI::Driver::Null - Nothing is cached

VERSION

Top

version 0.49

SYNOPSIS

Top

    use CHI;

    my $cache = CHI->new(driver => 'Null');
    $cache->set('key', 5);
    my $value = $cache->get('key');   # returns undef

DESCRIPTION

Top

This cache driver implements the full CHI interface without ever actually storing items. Useful for disabling caching in an application, for example.

SEE ALSO

Top

CHI

AUTHOR

Top

Jonathan Swartz <swartz@pobox.com>

COPYRIGHT AND LICENSE

Top


CHI documentation  | view source Contained in the CHI distribution.