Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm reading in some config_variables from a file which can be updated via a separate process (not a child), and I want to be able to notify my current process when this file gets written to, so that I can read in the newly changed config_variables.
I know that I can poll the file from an endless loop, but I was wondering if there was something neater, possibly with filehandles?
hoping against all hopes...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How can I alert perl to a file write
by tachyon (Chancellor) on Dec 10, 2002 at 20:40 UTC | |
Re: How can I alert perl to a file write
by BrowserUk (Patriarch) on Dec 10, 2002 at 21:06 UTC | |
Re: How can I alert perl to a file write
by hiseldl (Priest) on Dec 10, 2002 at 21:17 UTC | |
Re: How can I alert perl to a file write
by dingus (Friar) on Dec 10, 2002 at 20:49 UTC | |
Re: How can I alert perl to a file write
by tachekent (Acolyte) on Dec 10, 2002 at 20:46 UTC |
Back to
Seekers of Perl Wisdom