in reply to Re: Append new files only.
in thread Append new files only.
jwkrahn, Thanks for the suggestions.
The if statement actually does stuff for both cases, I just put the relevant portion up, but I did try removing the loop, turns out the loop is faster than the straight push, I tried 9 files (~165k lines total):
push @outLines, <FILE>; Completed in ~0.9 secondsAnd with the while loop it completed in ~0.4 seconds.
|
|---|