in reply to IPC - child reporting
Take a look at Parallel::ForkManager. You can set a maximum number of concurrent children and loop as many lookups as you like. P::FM takes care of all the messy parts.
After Compline,Zaxo