Hi everyone

        I am trying to use the perl Thread  module, i have perl 5.60 in a
Linux machine and i have compiled the Thread Module, then i have wirte a
silly program like this:
################################################
#!/usr/bin/perl
use Thread;

sub kk 
{
print "Hello\n"
}

my $tid = new Thread \&kk;
print "Bye Bye\n";  
##########################################
And when i run it, i get this error:
"No threads in this perl at - line 9."

        Can anybody help me???, i don't have any idea what it is happening
(to answer me please write to "[EMAIL PROTECTED]").

        Thanks for your time
                                Alberto

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to