Basically what I want to know is: is there a way to open those files with two for loops like soYes, you can do that, but that would be very inefficient and that's most probably not what you should do, because it would mean opening the second series of files a number of times, and there is nothing in what you've described that would make this necessary.for ($i; $i<=4; $i++) { for ($j; $j<=4; $j++) { #etc
With the code that I have provided in my first post (including the small corrections I made on the @ARGV array that I had forgot to remove in the second for loop), you should be able to read all the files.
If, on the other hand, you want to combine in some ways files from your first set with files of your second set, then it is more complicated, but you still don't want to read the same files many times over. But the bottom line is that there is nothing in what you said so far that indicates something in this direction.
In reply to Re^5: reading files in @ARGV doesn't return expected output
by Laurent_R
in thread reading files in @ARGV doesn't return expected output
by fasoli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |