I dont' want blank line separating each file (which is doing ok), but I also don't want blank lines at the end of the file#here my code foreach my $file (@filenames) { open (INFILE, "$file") || die ("Can't open file $file$!"); @all=<INFILE>; close (INFILE); print OUTFILE1 "@all"; } close (OUTFILE);
In reply to Replicate file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |