Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Replicate file
by kvale (Monsignor) on Apr 13, 2004 at 22:34 UTC | |
by Anonymous Monk on Apr 13, 2004 at 22:50 UTC | |
|
Re: Replicate file (through concatenation)
by grinder (Bishop) on Apr 14, 2004 at 06:03 UTC | |
|
Re: Replicate file
by duff (Parson) on Apr 14, 2004 at 04:21 UTC |