NAME

Tie::Redis::Candy::Array - tie Perl arrays to Redis lists - the candy way

VERSION

version 0.004

SYNOPSYS

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 = ();

HISTORY

This module is originally based on Redis::List by Pedro Melo and Damien Krotkine.

BUGS

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.

AUTHOR

David Zurborg <zurborg@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by David Zurborg.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)