Good call! I used
for ($i=0; $i<$Num_of_Files; $i++) { open(Read, $file[$i]); @Read = <Read>; ...}
I used this instead of for my $file1 (@filenames) { ... } so I could assign a name for each of the output files.
A coworker suggested that I use use strict but I don't see the usefulness of this. Why do you use it?
In reply to Re^2: Reading Multiple Input Files
by BoulderBuff64
in thread Reading Multiple Input Files
by BoulderBuff64
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |