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


in reply to parallel functions

Did you mean exit instead of exec?

Hint: what's your forked child going to do when then function reference returns?


Improve your skills with Modern Perl: the free book.