Perl: the Markov chain saw | |
PerlMonks |
Re: Auto-restarting script if it diesby EdwardG (Vicar) |
on Mar 09, 2007 at 13:25 UTC ( [id://603984]=note: print w/replies, xml ) | Need Help?? |
-e doesn't need you to open and read the contents of the file. It's purpose is to test for the existence of a file, like this:
And what about the script that checks check_if_its_running.pl is still running? Here's a meta solution ;-)
In Section
Seekers of Perl Wisdom
|
|