http://www.perlmonks.org?node_id=798203


in reply to Execute as new process?

A long time ago, I played with POE (Perl Object Environment) to good effect. I don't recall much about it, and it may not be what you want, but it should give you the effect you're looking for.