Net::Gearman::Client - concrete Gearman client over an IP socket
Net::Gearman::Client
use Net::Gearman::Client; my $client = Net::Gearman::Client->new( PeerAddr => $SERVER, ) or die "Cannot connect - $@\n"; my $total = $client->submit_job( func => "sum", arg => "10,20,30", )->get; say $total;
This module combines the abstract Protocol::Gearman::Client with Net::Gearman to provide a simple synchronous concrete client implementation.
Paul Evans <leonerd@leonerd.org.uk>
To install Protocol::Gearman, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::Gearman
CPAN shell
perl -MCPAN -e shell install Protocol::Gearman
For more information on module installation, please visit the detailed CPAN module installation guide.