Help for this page

Select Code to Download


  1. or download this
    # Countdown Timer
    sub sleep_count {
    ...
            sleep(1);
        }
    }
    
  2. or download this
    my $pid = fork();
    if ($pid == 0) {
    ...
        waitpid($pid,0);
    }