RedisPubSub is a project mainly written in Perl, based on the View license.
Simple Redis publish/subscribe client
NAME IO::Socket::RedisPubSub - A simple redis publish/subscribe client.
SYNOPSIS
my $rs = IO::Socket::RedisPubSub->new;
$rs->subscribe ( 'newsfeed' );
while ( my ( $channel, $message ) = $rs->pull ) {
print "Got $message on $channel";
}
# Elsewhere use IO::Socket::RedisPubSub qw(publish);
IO::Socket::RedisPubSub->new->publish ( 'newsfeed', 'hi there' );
DESCRIPTION A very simple redis client. Just uses the publish/subscribe features.
AUTHOR Martin Redmond CPAN ID: REDS Tinychat.com [email protected] http://tinychat.com/about.html
COPYRIGHT This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included
with this module.
SEE ALSO perl(1).