NAME

Protocol::Gearman::Client::Connection - concrete Gearman client over an IP socket

SYNOPSIS

use Protocol::Gearman::Client::Connection;

my $client = Protocol::Gearman::Client::Connection->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 Protocol::Gearman::Connection to provide a simple synchronous concrete client implementation.

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>