in reply to Re^3: Running Parallel Perl Script on Linux Cluster
in thread Running Parallel Perl Script on Linux Cluster

the best way to check if a file exists is with the -f operator (it is documented in perlfunc).

To requeue a job, you would need to run the corresponding qsub command again, ensure that you delete the "fail" file first with unlink.