Help for this page
FUNCTION may either be the name of a function, an anonymous subroutine +, or a code ref. ... my $thr = threads->create(sub { ... }, ...); # or my $thr = threads->create(\&func, ...);