Shogo Ichinose > Redis-Fast-0.14 > Redis::Fast::List

Download:
Redis-Fast-0.14.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

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