use threads; threads->new(sub { print "Foo!\n"; });
Now that I've fullfilled your request, could you fullfill one of mine? Read the perlthrtut and threads docs that comes with Perl.
-sam
In reply to Re: perl - thread
by samtregar
in thread perl - thread
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |