in reply to Best way for testing the end of the filling of a Tar file before opening it.
I think I would do something like this:
while( my $file = getNextFilename() ) { my $size = -s $file; sleep 1; next if -s( $file ) != $size; ## Pick it up next time around. ## process complete files }
|
|---|