$ t = new Thread \ &sub [ , params ]
t
&sub
params
Constructor. Starts a new thread in the referenced subroutine, \sub , returning a thread object that represents the new thread. The optional parameter list is passed to the subroutine. Execution continues in both the new thread and the code.
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]