in reply to How can I run a portion of code (like fork() does) w/o creating its own process?
If your 'child' subroutines don't need to run in the background, just do an eval{}. If you need the main code to run at the same time as the children, but two children won't run at once, then you can do one fork and re-use the child process for each task you have to do.