Help for this page

Select Code to Download


  1. or download this
    use threads;
    my $thr = threads->create ( sub { for (5..10) { print $_,"\n";
    ...
    $thr->join();
    my $thr2 = threads->create ( sub { for (10..19) { print $_,"\n";}});
    $thr2->join();
    
  2. or download this
    5
    6
    ...
    17
    18
    19