in reply to Perl and autoparallelization

Thanks Zaxo, BrowserUk, ambrus and others for the comments and suggestions. I checked on the Intel (P4) based HT with the default (Redhat 9) Perl, and I found that Perl makes use of both the processors. The following is the test program I have used to test this..., so in a way my problem is virtually solved.

Thanks again.
-Qhayaal

#!/usr/bin/perl -w use threads; $thr1 = threads->new(\&subr, 1,10000000 ); $thr2 = threads->new(\&subr, 1,20000000 ); $_ -> join for ($thr1, $thr2); print "Threads returned.\n"; exit; sub subr { ($min,$max)= @_; print "In the thread\n"; for ($i=$min;$i<=$max;$i++) { 1; } return 1; }