X-Git-Url: http://git.rot13.org/?p=perl-Redis.git;a=blobdiff_plain;f=lib%2FRedis.pm;h=6a6aab3978602db11c0e5b7093a465e784c4ef0f;hp=9fbbab8588464c2652d0617a991badd06aac9276;hb=c1c00721fa3e9052dce9d7c54bcc804f562a920a;hpb=5845f18c90c17241e2fd904ed21800ea6e049613 diff --git a/lib/Redis.pm b/lib/Redis.pm index 9fbbab8..6a6aab3 100644 --- a/lib/Redis.pm +++ b/lib/Redis.pm @@ -13,14 +13,14 @@ Redis - perl binding for Redis database =cut -our $VERSION = '0.0801'; +our $VERSION = '1.2001'; =head1 DESCRIPTION Pure perl bindings for L -This version support git version 0.08 or later of Redis available at +This version supports protocol 1.2 or later of Redis available at L @@ -77,6 +77,8 @@ our $AUTOLOAD; sub AUTOLOAD { my $self = shift; + use bytes; + my $sock = $self->{sock} || die "no server connected"; my $command = $AUTOLOAD; @@ -417,7 +419,7 @@ L =head1 COPYRIGHT & LICENSE -Copyright 2009 Dobrica Pavlinusic, all rights reserved. +Copyright 2009-2010 Dobrica Pavlinusic, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.