Chon-Ji has asked for the wisdom of the Perl Monks concerning the following question:
Can I do away with the for loop and just open them all at once?@list #contains list filenames foreach @list open(HANDLE, @list[$index]); @data = <HANDLE>; #etc.... $index++; end for
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Opening multiple files
by holli (Abbot) on May 30, 2006 at 08:07 UTC | |
Re: Opening multiple files
by japhy (Canon) on May 30, 2006 at 11:03 UTC | |
Re: Opening multiple files
by l.frankline (Hermit) on May 30, 2006 at 08:13 UTC | |
by Chon-Ji (Novice) on May 30, 2006 at 08:20 UTC | |
Re: Opening multiple files
by BrentDax (Hermit) on May 30, 2006 at 08:21 UTC | |
Re: Opening multiple files
by ambrus (Abbot) on May 30, 2006 at 11:42 UTC |