7 use Data::Dump qw/dump/;
11 Redis - The great new Redis!
15 our $VERSION = '0.01';
20 Pure perl bindings for L<http://code.google.com/p/redis/>
36 my $server = '127.0.0.1:6379';
43 warn "# opening socket to $server";
45 $sock ||= IO::Socket::INET->new(
53 =head1 Connection Handling
64 close( $sock ) || warn $!;
69 $r->ping || die "no server?";
74 print $sock "PING\r\n";
76 die "ping failed, got ", dump($pong) unless $pong eq "+PONG\r\n";
81 Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >>
85 Please report any bugs or feature requests to C<bug-redis at rt.cpan.org>, or through
86 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Redis>. I will be notified, and then you'll
87 automatically be notified of progress on your bug as I make changes.
94 You can find documentation for this module with the perldoc command.
99 You can also look for information at:
103 =item * RT: CPAN's request tracker
105 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Redis>
107 =item * AnnoCPAN: Annotated CPAN documentation
109 L<http://annocpan.org/dist/Redis>
113 L<http://cpanratings.perl.org/d/Redis>
117 L<http://search.cpan.org/dist/Redis>
122 =head1 ACKNOWLEDGEMENTS
125 =head1 COPYRIGHT & LICENSE
127 Copyright 2009 Dobrica Pavlinusic, all rights reserved.
129 This program is free software; you can redistribute it and/or modify it
130 under the same terms as Perl itself.