Tie::Redis::Candy::Array - tie Perl arrays to Redis lists - the candy way
version 1.001
my $redis = Redis->new; tie @my_list, 'Tie::Redis::Candy::List', 'list_name', $redis; $value = $my_list[$index]; $my_list[$index] = $value; $count = @my_list; push @my_list, 'values'; $value = pop @my_list; unshift @my_list, 'values'; $value = shift @my_list; ## NOTE: fourth parameter of splice is *NOT* supported for now @other_list = splice(@my_list, 2, 3); @my_list = ();
This module is originally based on Redis::List by Pedro Melo and Damien Krotkine.
Please report any bugs or feature requests on the bugtracker website https://github.com/zurborg/libtie-redis-candy-perl/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
David Zurborg <zurborg@cpan.org>
This software is Copyright (c) 2015 by David Zurborg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Tie::Redis::Candy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::Redis::Candy
CPAN shell
perl -MCPAN -e shell install Tie::Redis::Candy
For more information on module installation, please visit the detailed CPAN module installation guide.