Oif (!($PID = fork())) { SOME_SUB(); } else { SOME_OTHER_SUB(); } The child will run until it hits an exit or die....
In reply to Re: How do I run subroutines in parallel?
by Oicu812
in thread How do I run subroutines in parallel?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |