1Redis::List(3pm)      User Contributed Perl Documentation     Redis::List(3pm)
2
3
4

NAME

6       Redis::List - tie Perl arrays to Redis lists
7

VERSION

9       version 1.998
10

SYNOPSYS

12           tie @my_list, 'Redis::List', 'list_name', @Redis_new_parameters;
13
14           $value = $my_list[$index];
15           $my_list[$index] = $value;
16
17           $count = @my_list;
18
19           push @my_list, 'values';
20           $value = pop @my_list;
21           unshift @my_list, 'values';
22           $value = shift @my_list;
23
24           ## NOTE: fourth parameter of splice is *NOT* supported for now
25           @other_list = splice(@my_list, 2, 3);
26
27           @my_list = ();
28

AUTHORS

30       •   Pedro Melo <melo@cpan.org>
31
32       •   Damien Krotkine <dams@cpan.org>
33
35       This software is Copyright (c) 2015 by Pedro Melo, Damien Krotkine.
36
37       This is free software, licensed under:
38
39         The Artistic License 2.0 (GPL Compatible)
40
41
42
43perl v5.34.0                      2021-07-22                  Redis::List(3pm)
Impressum