I have a Perl script that moves files into folders. Every time it runs it checks the filenames in the folders. But if I have a bigger file it might not be ready with the moving when it checks the filenames, and it really can mess up stuff. I would like to stop at the end of the loop and check that the moving is finished, before it continues.
How to check if moving a file is finished in perl?
591 views Asked by TheAdam122 At
2
Three common approaches.