http://qs321.pair.com?node_id=604474


in reply to Auto-restarting script if it dies

If you just need the script to restart if it exits (for whatever reason) then could you not write a very (very) simple shell script to wrap it? Something like:
while [ 1 ]; do ./myscript.pl done
and pop that into run.sh (or whatever), and use that to run the program. You could even run it as a background task from there... set and forget.