IPC::AnyEvent::Gearman

IPC through gearmand
Download

IPC::AnyEvent::Gearman Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • HyeonSeung Kim
  • Publisher web site:
  • http://search.cpan.org/~khs/

IPC::AnyEvent::Gearman Tags


IPC::AnyEvent::Gearman Description

IPC::AnyEvent::Gearman is a Perl module that provides IPC through gearmand.SYNOPSIS use AnyEvent; use IPC::AnyEvent::Gearman; #receive my $recv = IPC::AnyEvent::Gearman->new(job_servers=>); $recv->channel('BE_CALLED'); # channel is set with a random UUID by default $recv->on_recv(sub{ my $msg = shift; print "received msg : $data\n"; return "OK";#result }); $recv->listen(); my $cv = AE::cv; $cv->recv; #send my $ch = 'BE_CALLED'; my $send = IPC::AnyEvent::Gearman->new(server=>); my $result = $send->send($ch,"TEST DATA"); pritn $result; # prints "OK"Product's homepage


IPC::AnyEvent::Gearman Related Software