Perl Monk, Perl Meditation | |
PerlMonks |
Re: converting a command-line program to one with a "pretty" interfaceby tachyon (Chancellor) |
on Dec 06, 2004 at 04:10 UTC ( [id://412580]=note: print w/replies, xml ) | Need Help?? |
With a program that sleeps for N units of time and then does stuff the obvious solution would be to make it read a config file as soon as it wakes up, then the bulk of the interface just edits this file. On *nix you could use a HUP signal to make the daemon re-read the config file. $SIG{HUP} = \&read_config; cheers tachyon
In Section
Seekers of Perl Wisdom
|
|