Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Controlling Thread Numbersby BBQ (Curate) |
on Oct 19, 2007 at 02:01 UTC ( [id://645879]=note: print w/replies, xml ) | Need Help?? |
Hey NetWallah, Thanks for the snippet! I'm having a hard time following though... on this line: our $KIDS = $count > 20? 10 : int ($count / 4) || 1; Won't $KIDS always be assigned the value 1? Unless $count has already been assigned a value elsewhere... and I'm assuming that the keys in %ServerInfo are IP addresses that get passed to another sub_routine called Ping_it()? Sorry if I'm being a little dense here. Just trying to get what goes where and there seem to be a few pieces of the puzzle still missing. Thanks again!
In Section
Seekers of Perl Wisdom
|
|