NAME
Net::Gearman::Client
- concrete Gearman client over an IP socket
SYNOPSIS
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
;
DESCRIPTION
This module combines the abstract Protocol::Gearman::Client with Net::Gearman to provide a simple synchronous concrete client implementation.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>