App-OS-Detect-MachineCores
view release on metacpan or search on metacpan
use v5.10;
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/../lib";
use App::OS::Detect::MachineCores;
say App::OS::Detect::MachineCores->new_with_options->cores;
=begin wikidoc
= SYNOPSIS
On different systems, different approaches are needed to detect the number of cores for that machine.
This Module is a wrapper around these different approaches.
= USAGE
( run in 1.432 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )