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.
In reply to Re^2: Append new files only.
by c4jjm
in thread Append new files only.
by c4jjm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |