Note that !-e means "file doesn't exist". This will keep looping and checking every 1 second forever, and move on only if the relevant file appears.sleep 1 while !-e 'myfile.txt';
In reply to Re: Pause Perl Script Execution
by oxone
in thread Pause Perl Script Execution
by mattwortho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |