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


in reply to Efficient processing of large directory

... Or is there a much better way to do this?...

If you have the possibility of re-formatting a partition, have a look at ReiserFS. It will do the "hashing" of filenames for you and be much more efficient in handling diskspace.

Liz