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...
In reply to How can I alert perl to a file write by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |