in reply to Is this Proc::Queue error

I don't think your processing of $opt_numChilds is doing what you think. Instead of

my $numChilds=3; ... ($opt_numChilds) ? $numChilds=$opt_numChilds : $numChilds;

try

my $numChilds = $opt_numChilds ? $opt_numChilds : 3;

Your code gives a "Useless use of private variable in void context" message.

Cheers,

JohnGG