} )->recv; # Send job, data created by encoding @args with JSON use JSON::XS; $client->encoder(\&JSON::XS::encode_json); my $job2 = $client->put( { priority => 100, ttr