- or download this
<thread>
<module>module_name</module>
<subroutine>subroutine_name</subroutine>
</thread>
- or download this
use threads;
use test;
...
my $thread=threads->create('forthread', (argument));
$thread->join();
exit(0);
- or download this
package test;
...
sub another{
return 0;
} #another