The first parameter is the task name, and must be a unique string. The remaining parameters are passed to Storable , and can be any permitted data structure. Uncommenting this line causes a lot of extra tracing of child process launches and terminations that was helpful during the debugging. Next, in line 31, we've got the KidMax value. This is the number of parallel processes to execute.
Experimentation is the key here.
I'll probably have a lot more to say about this number when I start running my web link checker using this code. Lines 32 to 48 define the activity of each kid once it gets a task. The value is a coderef, here defined by an anonymous subroutine. These can be disabled or enabled by inserting or removing a 0 and in front of the description strings, like I've done to disable the CPU waster. Finally, lines 46 and 47 handle the pseudo-task.