in reply to Re^2: Using Perl to run a Windows command-line utility many times with ordered, parallel execution
in thread Using Perl to run a Windows command-line utility many times with ordered, parallel execution

Thread::Queue would work just as well, though it would consume a little more memory without some additional code to limit the size of the queue.

But for the OPs 10k items and 20 threads that would still come in at less than 40mb.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: Using Perl to run a Windows command-line utility many times with ordered, parallel execution

Replies are listed 'Best First'.
Re^4: Using Perl to run a Windows command-line utility many times with ordered, parallel execution
by Jim (Curate) on Apr 17, 2014 at 00:35 UTC
      What about Thread::Queue::MaxSize?

      Honestly?

      If you're not the author, read on:

      If you are the author. Sorry.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.