more useful options | |
PerlMonks |
Re^7: Globbing for file in an unkown directory path only works first time in foreach loop?by poj (Abbot) |
on Jan 29, 2016 at 20:54 UTC ( [id://1154035]=note: print w/replies, xml ) | Need Help?? |
In that case try adding (). I think your problem is that glob in a scalar context, makes it act as an iterator: poj
In Section
Seekers of Perl Wisdom
|
|