![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: randomising file order returned by File::Findby JavaFan (Canon) |
on Mar 01, 2011 at 13:03 UTC ( #890749=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|