DOKK / manpages / debian 11 / munin-doc / Munin::Master::Worker.3pm.en
Munin::Master::Worker(3pm) User Contributed Perl Documentation Munin::Master::Worker(3pm)

Munin::Master::Worker - Abstract base class for workers.

See Munin::Master::ProcessManager.

  Munin::Master::Worker->new($identity);
    

Constructor. This is an abstract class, so this shouldn't be called directly.

The optional $identity argument should be a unique identifier for the process.

  print $worker->string;
  # Stringifies too
  print "Worker $worker just died";
    

Returns a unique string representation of the worker.

2021-07-28 perl v5.32.1