Pedro Melo > Redis-1.954 > Redis::List

Download:
Redis-1.954.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 1.954   Source   Latest Release: Redis-1.975

NAME ^

Redis::List - tie Perl arrays to Redis lists

VERSION ^

version 1.954

SYNOPSYS ^

    tie @my_list, 'Redis::List', 'list_name', @Redis_new_parameters;

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

AUTHOR ^

Pedro Melo <melo@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Pedro Melo.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)
syntax highlighting: