or download this
sub threadProc1 :threaded { ... }
sub threadProc2 :threaded { ... }
...
## then the statements completes immediately. Otherwise it blocks unti
+l
## both results are available. Effectively joining both threads.
my $composite = $result1 + $result2;