in reply to Fork me

Check out Proc::Queue. Very cool module that does *exactly* what you seek.