P is for Practical | |
PerlMonks |
Re^2: Question about communicating with a running perl scriptby mhearse (Chaplain) |
on Jul 10, 2015 at 03:02 UTC ( [id://1134074]=note: print w/replies, xml ) | Need Help?? |
Also, In addition to the other suggested solutions, classic UNIX dogma includes signals. You could add a signal handler to your code. That re-reads and applies the configuration info stored in db. The hangup signal is, by tradition, usually chosen for reloading configs.
In Section
Seekers of Perl Wisdom
|
|