in reply to Re^4: Globbing for file in an unkown directory path only works first time in foreach loop?
in thread Globbing for file in an unkown directory path only works first time in foreach loop?
How many files do you expect to find with
glob('/home/myfiles/day_of_year/'.$day_of_year.'/*/desired_file.txt');Is it only 1 ?
poj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Globbing for file in an unkown directory path only works first time in foreach loop?
by MarsRover (Novice) on Jan 29, 2016 at 20:52 UTC | |
by poj (Abbot) on Jan 29, 2016 at 20:54 UTC |