Help for this page

Select Code to Download


  1. or download this
    foreach (1..10)
    {
    ...
    # 1 while wait != -1;     # *cough*
    print "$$ all done!";
    
  2. or download this
    use threads;
    
    ...
        sleep(int(rand(10)));
        print "\tchild", threads->tid() , " done, outta here";
    }