Of course being this is perlmonks, not catmonks . . .
open( OUT, ">xyzfile" ) or die "Can't create xyzfile: $!\n"; foreach( qw( xfile yfile zfile ) ){ local( *IN ); open( IN, $_ ) or die "Can't open $_: $!\n"; print OUT while <IN>; close( IN ); }
Originally posted as a Categorized Answer.
In reply to Re: How do I join two files?
by Fletch
in thread How do I join two files side by side?
by esther
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |