ShardedKV::Storage::Redis::String - Storing simple string values in Redis
version 0.20
use ShardedKV; use ShardedKV::Storage::Redis::String; ... create ShardedKV... my $storage = ShardedKV::Storage::Redis::String->new( redis_connect_str => 'redisshard1:679', expiration_time => 60*60, #1h ); ... put storage into ShardedKV... # values are scalar references to strings $skv->set("foo", \"bar"); my $value_ref = $skv->get("foo");
This subclass of ShardedKV::Storage::Redis implements simple string/blob values in Redis. See the documentation for ShardedKV::Storage::Redis for the interface of this class.
ShardedKV::Storage::Redis
The values of a ShardedKV::Storage::Redis::String are actually scalar references to strings.
ShardedKV::Storage::Redis::String
ShardedKV
ShardedKV::Storage
ShardedKV::Storage::Redis::Hash
Steffen Mueller <smueller@cpan.org>
Nick Perez <nperez@cpan.org>
Damian Gryski <dgryski@cpan.org>
This software is copyright (c) 2013 by Steffen Mueller.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install ShardedKV, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ShardedKV
CPAN shell
perl -MCPAN -e shell install ShardedKV
For more information on module installation, please visit the detailed CPAN module installation guide.