"be consistent" | |
PerlMonks |
Re: Directory-non-recursion (was Re: Re: Directory Recursion)by Haloric (Novice) |
on Mar 04, 2014 at 15:07 UTC ( [id://1076891]=note: print w/replies, xml ) | Need Help?? |
I'm a few years late to the party - but you are iterating over an array that you are extending, (@files) not sure what the party line is on this, but it caused me grief. Create a temporary array, then append the two together at the end. Then throw it all away and use File::Find.
In Section
Tutorials
|
|