First off let me say Thank You very, very much for your help!!!
I finally have it all working with your changes and with 23 boxes the elapsed time is usually between 8-10 seconds(which greatly improves on the over 30+ seconds it used to take). I am sure this can be improved upon if I fix my code a little more. I also imagine that I can fire off more than 5 threads at once and still be ok, so if I can figure out where that watermark is than I can get the most out of all the tweaks that have been made(Benchmarking my code will come in handy here). Finally, I really need to shore up my error checking so that I can cover timeout scenarios when the boxes are not reachable.

In reply to Re^12: Thread::Pool and Template Toolkit by perldragon80
in thread Thread::Pool and Template Toolkit by perldragon80

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.