use threads; $thr = threads->new(\&sub1); sub sub1 { print "In the thread\n"; } [download]
In reply to Multithreading in perl by soumyapanda