comparison rapsodyn/MergeMultiFile.pl @ 7:3f7b0788a1c4 draft

Uploaded
author mcharles
date Tue, 07 Oct 2014 10:34:34 -0400
parents
children
comparison
equal deleted inserted replaced
6:1776b8ddd87e 7:3f7b0788a1c4
1 #!/usr/bin/perl
2 #V1.0.0
3 use strict;
4 use warnings;
5
6 my @files = split(/,/,$ARGV[0]);
7 for (my $i=0;$i<=$#files;$i++){
8
9 open(IN, $files[$i]) or die ("Can't open ",$files[$i],"\n");
10 while (my $line = <IN>){
11 print $line;
12 }
13 close (IN);
14 }
15