http://www.perlmonks.org?node_id=977297


in reply to How to pass arguments to a daemon

In addition to what moritz said: A common way to pass data to a daemon is to use a config file. If you need to update the file while the daemon is running, a common practice is to send the daemon a SIGHUP. From the Perl side, this can be trapped by

$SIG{HUP}=sub { .... };

-- 
Ronald Fischer <ynnor@mm.st>