1CHI::Driver::Null(3) User Contributed Perl Documentation CHI::Driver::Null(3)
2
3
4
6 CHI::Driver::Null - Nothing is cached
7
9 version 0.60
10
12 use CHI;
13
14 my $cache = CHI->new(driver => 'Null');
15 $cache->set('key', 5);
16 my $value = $cache->get('key'); # returns undef
17
19 This cache driver implements the full CHI interface without ever
20 actually storing items. Useful for disabling caching in an application,
21 for example.
22
24 CHI
25
27 Jonathan Swartz <swartz@pobox.com>
28
30 This software is copyright (c) 2012 by Jonathan Swartz.
31
32 This is free software; you can redistribute it and/or modify it under
33 the same terms as the Perl 5 programming language system itself.
34
35
36
37perl v5.30.0 2019-07-26 CHI::Driver::Null(3)