Jonathan Swartz > CHI-0.55 > CHI::Driver::Null

Download:
CHI-0.55.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  9
View/Report Bugs
Module Version: 0.55   Source   Latest Release: CHI-0.58

NAME ^

CHI::Driver::Null - Nothing is cached

VERSION ^

version 0.55

SYNOPSIS ^

    use CHI;

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

DESCRIPTION ^

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

SEE ALSO ^

CHI

AUTHOR ^

Jonathan Swartz <swartz@pobox.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: