in reply to Re^9: Multithreading, how to?
in thread Multithreading, how to?
No. The notation $variable->(@args) means de-referencing, i.e. invocation of a subroutine reference (or "anonymous subroutine").
Method invocation for $object is generally written as $object->method(@args) (unless the content of the scalar $object is a subroutine reference, which is rarely used).
So I guess, BrowserUk really meant
$Qwork->enqueue( @generation, (undef) x $noOfCores );
or such, but that's just guessing.
|
|---|