view rapsodyn/MergeMultiFile.pl @ 29:7b8646f46010 draft

Uploaded
author mcharles
date Wed, 08 Oct 2014 09:06:53 -0400
parents
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);
}