in reply to Re^2: Range File Open
in thread Range File Open
You already have some code to scan through your directory and decide whether or not you want a file, so all you have to do is push the file into the array at the end of a similar loop. Something like the following:
while (my $file = readdir(DIR)) { #decide whether or not this is a file the user wants ... push @files, $file; }
Then you can use stiller's loop to iterate through that list, opening each file for processing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Range File Open
by Anonymous Monk on Mar 04, 2008 at 14:49 UTC | |
by amarquis (Curate) on Mar 04, 2008 at 17:02 UTC |