Help for this page

Select Code to Download


  1. or download this
    my $thread = threads->create(sub {$obj->run(&MESSAGE)})
        or exit(1);
    $thread->join();
    
  2. or download this
    my $callback = sub {$obj->run(&MESSAGE)};
    $callback->();