http://www.perlmonks.org?node_id=951399


in reply to Re: Optimizing performance for script to traverse on filesystem
in thread Optimizing performance for script to traverse on filesystem

I tested the same logic in a way you suggested and found it a little bit slower for a big directories.
But writing is much easier of course

  • Comment on Re^2: Optimizing performance for script to traverse on filesystem