in reply to Re: Reading Multiple Input Files
in thread Reading Multiple Input Files
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Reading Multiple Input Files
by Old_Gray_Bear (Bishop) on May 27, 2011 at 23:24 UTC | |
|
Re^3: Reading Multiple Input Files
by CountZero (Bishop) on May 28, 2011 at 07:18 UTC | |
by Anonymous Monk on May 28, 2011 at 08:55 UTC | |
by CountZero (Bishop) on May 28, 2011 at 11:30 UTC | |
|
Re^3: Reading Multiple Input Files
by Anonymous Monk on May 27, 2011 at 23:24 UTC |