Hi,
I am confused by threads in activeperl. I have installed Perl from ActivePerl-5.6.0.616-MSWin32-x86-multi-thread.msi.
One could think it supports threads, but when I try this simple test:
use Thread;
sub proc {
    print "proc\n";
}
my $t = new Thread \&proc;
$t->join;
It doesn't execute but prints this message: No threads in this perl at thread.pl line 5.
My question is: Is there something wrong with my program or with activeperl?
 
Vaclav Haisman
 

Reply via email to