in reply to randomising file order returned by File::Find

What I would do: open 100+ files for writing. Find your files using File::Find. Write them to the 100 files in a round robin way (that way, you don't need to store all files in a huge list in memory). Close the files. Now start your jobs, each taking a different file containing file names to process as argument.
  • Comment on Re: randomising file order returned by File::Find

Replies are listed 'Best First'.
Re^2: randomising file order returned by File::Find
by salva (Canon) on Mar 01, 2011 at 13:12 UTC
    a list of filenames with thousands of entries is not huge anymore!