Skip to content

Commit 1d0f21c

Browse files
committed
Light refactoring
1 parent 6f6d658 commit 1d0f21c

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
AnyEvent-RipeRedis version 0.32
2-
======================
1+
AnyEvent-RipeRedis version 0.33_01
2+
===============================
33

44
INSTALLATION
55

lib/AnyEvent/RipeRedis.pm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use strict;
55
use warnings;
66
use base qw( Exporter );
77

8-
our $VERSION = '0.32';
8+
our $VERSION = '0.33_01';
99

1010
use AnyEvent::RipeRedis::Error;
1111

@@ -487,11 +487,10 @@ sub _prepare {
487487
weaken($self);
488488

489489
$cmd->{on_reply} = sub {
490-
my $reply = shift;
491-
my $err = shift;
490+
my $err = $_[1];
492491

493492
if ( defined $err ) {
494-
$self->{on_error}->( $err, $reply );
493+
$self->{on_error}->($err);
495494
return;
496495
}
497496
};

lib/AnyEvent/RipeRedis/Error.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use 5.008000;
44
use strict;
55
use warnings;
66

7-
our $VERSION = '0.32';
7+
our $VERSION = '0.33_01';
88

99
our %ERROR_CODES = (
1010
E_CANT_CONN => 1,

0 commit comments

Comments
 (0)