view rapsodyn/MergeMultiFile.pl @ 15:56d328bce3a7 draft default tip

Uploaded
author mcharles
date Thu, 29 Jan 2015 08:54:06 -0500
parents 3f7b0788a1c4
children
line wrap: on
line source

#!/usr/bin/perl
#V1.0.0
use strict;
use warnings;

my @files = split(/,/,$ARGV[0]);
for (my $i=0;$i<=$#files;$i++){
	
	open(IN, $files[$i]) or die ("Can't open ",$files[$i],"\n");
	while (my $line = <IN>){
		print $line;
	}
	close (IN);
}