in reply to Re: data concatenation in an output file
in thread data concatenation in an output file

or you could reduce the clutter a little by:

print OUTFILE $line unless $. <= 2 and $infile ne $FILES[0];

Perl is environmentally friendly - it saves trees