my $manager = Archer::Parallel::ForkManager->new; $manager->run( { num => 30, callback => sub { my $elem = shift; $self->run_hook('process', {elem => $elem}); } } );
To install Archer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Archer
CPAN shell
perl -MCPAN -e shell install Archer
For more information on module installation, please visit the detailed CPAN module installation guide.