@@ -5,7 +5,7 @@ use strict;
5
5
use warnings;
6
6
use base qw( Exporter ) ;
7
7
8
- our $VERSION = ' 0.28 ' ;
8
+ our $VERSION = ' 0.29_01 ' ;
9
9
10
10
use AnyEvent::RipeRedis::Error;
11
11
@@ -20,7 +20,7 @@ our %ERROR_CODES;
20
20
BEGIN {
21
21
%ERROR_CODES = %AnyEvent::RipeRedis::Error::ERROR_CODES ;
22
22
our @EXPORT_OK = keys %ERROR_CODES ;
23
- our %EXPORT_TAGS = ( err_codes => \@EXPORT_OK , );
23
+ our %EXPORT_TAGS = ( err_codes => \@EXPORT_OK );
24
24
}
25
25
26
26
use constant {
@@ -1215,7 +1215,7 @@ an error messages to C<STDERR>.
1215
1215
To execute the command you must call specific method with corresponding name.
1216
1216
The reply to the command is passed to the callback in first argument. If any
1217
1217
error occurred during the command execution, the error object is passed to the
1218
- callback in second argument. Error object is an instance of the class
1218
+ callback in second argument. Error object is the instance of the class
1219
1219
L<AnyEvent::RipeRedis::Error> .
1220
1220
1221
1221
The command callback is optional. If it is not specified and any error
@@ -1382,7 +1382,7 @@ C<UNSUBSCRIBE>, C<PUNSUBSCRIBE> and C<QUIT> commands.
1382
1382
The detailed information about Redis Pub/Sub can be found here:
1383
1383
L<http://redis.io/topics/pubsub>
1384
1384
1385
- =head2 subscribe( @channels, ( $cb | \%cbs ) )
1385
+ =head2 subscribe( @channels, ( $cb->( $msg, $channel ) | \%cbs ) )
1386
1386
1387
1387
Subscribes the client to the specified channels.
1388
1388
@@ -1428,7 +1428,7 @@ C<on_message> callback.
1428
1428
}
1429
1429
);
1430
1430
1431
- =head2 psubscribe( @patterns, ( $cb | \%cbs ) )
1431
+ =head2 psubscribe( @patterns, ( $cb->( $msg, $pattern, $channel ) | \%cbs ) )
1432
1432
1433
1433
Subscribes the client to the given patterns. See C<subscribe() > method for
1434
1434
details.
@@ -1763,52 +1763,52 @@ L<http://redis.io/commands/info>
1763
1763
1764
1764
=head2 host()
1765
1765
1766
- Get current host of the client.
1766
+ Gets current host of the client.
1767
1767
1768
1768
=head2 port()
1769
1769
1770
- Get current port of the client.
1770
+ Gets current port of the client.
1771
1771
1772
1772
=head2 select( $index, [, $cb->( $reply, $err ) ] )
1773
1773
1774
1774
Selects the database by numeric index.
1775
1775
1776
1776
=head2 database()
1777
1777
1778
- Get selected database index.
1778
+ Gets selected database index.
1779
1779
1780
1780
=head2 utf8( [ $boolean ] )
1781
1781
1782
1782
Enables or disables UTF-8 mode.
1783
1783
1784
1784
=head2 connection_timeout( [ $fractional_seconds ] )
1785
1785
1786
- Get or set the C<connection_timeout > of the client. The C<undef > value resets
1786
+ Gets or sets the C<connection_timeout > of the client. The C<undef > value resets
1787
1787
the C<connection_timeout > to default value.
1788
1788
1789
1789
=head2 read_timeout( [ $fractional_seconds ] )
1790
1790
1791
- Get or set the C<read_timeout > of the client.
1791
+ Gets or sets the C<read_timeout > of the client.
1792
1792
1793
1793
=head2 reconnect( [ $boolean ] )
1794
1794
1795
1795
Enables or disables reconnection mode of the client.
1796
1796
1797
1797
=head2 reconnect_interval( [ $fractional_seconds ] )
1798
1798
1799
- Get or set C<reconnect_interval > of the client.
1799
+ Gets or sets C<reconnect_interval > of the client.
1800
1800
1801
1801
=head2 on_connect( [ $callback ] )
1802
1802
1803
- Get or set the C<on_connect > callback.
1803
+ Gets or sets the C<on_connect > callback.
1804
1804
1805
1805
=head2 on_disconnect( [ $callback ] )
1806
1806
1807
- Get or set the C<on_disconnect > callback.
1807
+ Gets or sets the C<on_disconnect > callback.
1808
1808
1809
1809
=head2 on_error( [ $callback ] )
1810
1810
1811
- Get or set the C<on_error > callback.
1811
+ Gets or sets the C<on_error > callback.
1812
1812
1813
1813
=head1 SEE ALSO
1814
1814
0 commit comments