in reply to Create a separate process with a sub...

I think that you will find perldoc perlthrtut helpful.

I think what you want is the async() function.

Liz