Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Pause Perl Script Executionby oxone (Friar) |
on Sep 08, 2007 at 15:25 UTC ( [id://637842]=note: print w/replies, xml ) | Need Help?? |
Assuming the file in question will be created by something external to your Perl script and you just want to wait:
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.
In Section
Seekers of Perl Wisdom
|
|