Jonathan Swartz > CHI > CHI::Driver::Null

Download:
CHI-0.33.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  4
View Bugs
Report a bug
Source  

NAME ^

CHI::Driver::Null - nothing is cached

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.

AUTHOR ^

Jonathan Swartz

COPYRIGHT & LICENSE ^

Copyright (C) 2007 Jonathan Swartz.

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