in reply to Best way to append bigger files

FWIW: On my single-disk, Windows system, this is almost twice as fast as File::Copy.

Here, using a 10 MB buffer seems to strike the right balance between latency and head shuffling; but if you are on a multi-disk system that balance point may be considerably different.

#! perl -slw use strict; our $BUFSIZE //= 10*1024**2; my( $source, $target ) = @ARGV; open IN, '<', $source or die "$source: $!"; binmode IN; open OUT, '>>', $target or die "$target: $!"; binmode OUT; { local( $/, $\ ) = \$BUFSIZE; print OUT while <IN>; } close OUT; close IN;

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?