in reply to Re^2: How do I append more than one files?
in thread How do I append more than one files?

I think you'd want something like this to create your catFiles.pl script:

#!perl # called as catFiles.pl input1 input2 > output exec( qw(perl -MExtUtils::Command -e cat), @ARGV );

Or if you want a different way of executing the command:

#!perl -w # called as catFiles.pl output input1 input2 use strict; my ($output, @inputs) = @ARGV; exec("perl -MExtUtils::Command -e cat @inputs > $output");