Collection::Memcached - class for collections of data, stored in Memcached.
use Collection::Memcached; use Cache::Memcached; $memd = new Cache::Memcached { 'servers' => [ "127.0.0.1:11211" ], 'debug' => 0, 'compress_threshold' => 10_000, }; $memd->set_compress_threshold(10_000); $memd->enable_compress(0); my $collection = new Collection::Memcached:: $memd; ... my $collection_prefix = new Collection::Memcached:: $memd, 'prefix';
Class for collections of data, stored in Memcached.
Creates a new Collection::Memcached object. Keys transparently autoprefixed with <prefix> if provided.
my $collection_prefix = new Collection::Memcached:: $memd, 'prefix';
Collection, README
Zahatski Aliaksandr, <zag@cpan.org>
Copyright (C) 2005-2008 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Collection, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Collection
CPAN shell
perl -MCPAN -e shell install Collection
For more information on module installation, please visit the detailed CPAN module installation guide.