Swap the order of the two statements to be as below:
my $pid = $pm->start and next; my $start = time();
In reply to Re: Finding the run time of a Fork process
by BrowserUk
in thread Finding the run time of a Fork process
by edimusrex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |