Of course, the complexity of your final script depends entirely on what you want to do when the file disappears, which you haven't quite stated...perl -e '-e $ARGV[0] ? sleep 10 : die "GONE!" while 1' <FILENAME>
MeowChow print $/='"',(`$^X\144oc $^X\146aq1`)[-2]
In reply to Re: perl daemon
by MeowChow
in thread perl daemon
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |