9 |
|
|
10 |
=head1 NAME |
=head1 NAME |
11 |
|
|
12 |
Redis - The great new Redis! |
Redis - perl binding for Redis database |
13 |
|
|
14 |
=cut |
=cut |
15 |
|
|
20 |
|
|
21 |
Pure perl bindings for L<http://code.google.com/p/redis/> |
Pure perl bindings for L<http://code.google.com/p/redis/> |
22 |
|
|
23 |
|
This version support git version of Redis available at |
24 |
|
L<git://github.com/antirez/redis> |
25 |
|
|
26 |
use Redis; |
use Redis; |
27 |
|
|
28 |
my $r = Redis->new(); |
my $r = Redis->new(); |
29 |
|
|
|
|
|
|
|
|
|
|
|
30 |
=head1 FUNCTIONS |
=head1 FUNCTIONS |
31 |
|
|
32 |
=head2 new |
=head2 new |
293 |
|
|
294 |
=head1 Commands operating on lists |
=head1 Commands operating on lists |
295 |
|
|
296 |
|
See also L<Redis::List> for tie interface. |
297 |
|
|
298 |
=head2 rpush |
=head2 rpush |
299 |
|
|
300 |
$r->rpush( $key, $value ); |
$r->rpush( $key, $value ); |
462 |
$self->_sock_result_bulk_list( 'SINTER', @_ ); |
$self->_sock_result_bulk_list( 'SINTER', @_ ); |
463 |
} |
} |
464 |
|
|
465 |
|
=head2 sinterstore |
466 |
|
|
467 |
|
my $ok = $r->sinterstore( $dstkey, $key1, $key2, ... ); |
468 |
|
|
469 |
|
=cut |
470 |
|
|
471 |
|
sub sinterstore { |
472 |
|
my $self = shift; |
473 |
|
$self->_sock_send_ok( 'SINTERSTORE', @_ ); |
474 |
|
} |
475 |
|
|
476 |
=head1 AUTHOR |
=head1 AUTHOR |
477 |
|
|
478 |
Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >> |
Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >> |