in reply to Re^6: 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?
In that case try adding (). I think your problem is that glob in a scalar context, makes it act as an iterator:
pojmy ($info_desired_filepath) = glob('/home/myfiles/day_of +_year/'.$day_of_year.'/*/desired_file.txt');
|
|---|