A great post for forking and threading applications in Perl: https://wiki.bc.net/atl-conf/pages/viewpage.action?pageId=20548191