No such thing as a small change | |
PerlMonks |
Re^3: File::Find preprocessby pvaldes (Chaplain) |
on Jan 08, 2018 at 17:13 UTC ( [id://1206923]=note: print w/replies, xml ) | Need Help?? |
Hum, I see. I was expecting an equivalent to the "previously" condition in a common-lisp loop structure. A chunk of code that happens only once before the main body of the function starts iterating. I understand that if I need to do something within each subdirectory (check if something happens inside each subdir first), I would need then to traverse the tree two times using two different find functions. One for directories only, and a second for all files. Right? can't be done in one take?
In Section
Seekers of Perl Wisdom
|
|