Nice recommendation by McA! Try my $cores = qx(sysctl -n hw.ncpu); (works on my Mac) before you consult the manual for every machine where your script should run ;-) Please see also sysctl for more details.
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: No Performance gain with Parallel::ForkManager
by karlgoethebier
in thread No Performance gain with Parallel::ForkManager
by walto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |