The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

NAME

Gearman::Job - Job in gearman distributed job system

DESCRIPTION

Gearman::Job is the object that's handed to the worker subrefs

METHODS

set_status($numerator, $denominator)

Updates the status of the job (most likely, a long-running job) and sends it back to the job server. $numerator and $denominator should represent the percentage completion of the job.

argref()

arg()

return the scalar argument that the client sent to the job server.

handle()

return handle