for ($i=1;$i<=10;$i++) { print "$i\n" }; for ($j=10;$j>=1;$j--) { print "$j\n" }; # This will give you: 1 2 3 4 5 6 7 8 9 10 10 9 8 7 6 5 4 3 2 1 #### $pid = fork(); if (! $pid) { ### This is the new process for ($j=10;$j>=0;$j--) { print "$j\n" }; } else { ### This is the parent process for ($i=1;$i<=10;$i++) { print "$i\n" }; } #### ----------------------------------- --the good, the bad and the physi-- -----------------------------------