for (1 .. 10) { unless (fork) { exit(); } } END { POSIX::_exit(0); }