@@ -5,7 +5,7 @@ use strict;
5
5
use warnings;
6
6
use base qw( Exporter ) ;
7
7
8
- our $VERSION = ' 0.09_01 ' ;
8
+ our $VERSION = ' 0.10 ' ;
9
9
10
10
use AnyEvent::RipeRedis::Error;
11
11
@@ -1187,11 +1187,11 @@ Disabled by default.
1187
1187
=item reconnect => $boolean
1188
1188
1189
1189
If the connection to the server was lost and the parameter C<reconnect > is
1190
- TRUE (default), the client try to restore the connection when you execute next
1191
- command. The client try to reconnect only once and, if attempt fails, the error
1192
- object is passed to command callback. If you need several attempts of the
1193
- reconnection, you must retry a command from the callback as many times, as you
1194
- need. Such behavior allows to control reconnection procedure.
1190
+ TRUE (default), the client will try to restore the connection when you execute
1191
+ next command. The client will try to reconnect only once and, if attempt fails,
1192
+ the error object is passed to command callback. If you need several attempts of
1193
+ the reconnection, you must retry a command from the callback as many times, as
1194
+ you need. Such behavior allows to control reconnection procedure.
1195
1195
1196
1196
Enabled by default.
1197
1197
@@ -1244,16 +1244,16 @@ an error messages to C<STDERR>.
1244
1244
1245
1245
=head2 <command>( [ @args ] [, $cb->( $reply, $err ) ] )
1246
1246
1247
- The full list of the Redis commands can be found here: L<http://redis.io/commands> .
1248
-
1249
1247
To execute the command you must call specific method. The reply to the command
1250
1248
is passed to the callback in first argument. If any error occurred during
1251
- command execution, the error object is passed to the callback in second
1249
+ the command execution, the error object is passed to the callback in second
1252
1250
argument. Error object is an instance of the class L<AnyEvent::RipeRedis::Error> .
1253
1251
1254
1252
The command callback is optional. If it is not specified and any error
1255
1253
occurred, the C<on_error > callback of the client is called.
1256
1254
1255
+ The full list of the Redis commands can be found here: L<http://redis.io/commands> .
1256
+
1257
1257
$redis->get( 'foo',
1258
1258
sub {
1259
1259
my $reply = shift;
0 commit comments