Dear Perl masters,
I actually feel kinda stupid asking this, but I couldn't find an appropriate answer on the web. Basically I need to fork 2 childs and from each child I need to call a subroutine with 2 parameters. But from what I've seen so far, it's somehow not possible. It should look like this:
fork child 1 -> $return1 = subroutine($param1, $param2)
fork child 2 -> $return2 = subroutine($param3, $param4)
wait for both childs to finish
run other code with $return1 and $return2
Can't be that hard to do, right?
Thanks for any help in advance!