examples/benchmarks/addit.pl - Variable Argument Subroutines
% time perl examples/benchmarks/addit.pl
Joe Wilson's original Perl version of his varargs subroutines benchmark. It calls an "add it" function 500000 times in a loop and prints the result (21001097.97).
varargs
examples/benchmarks/addit.pasm, examples/benchmarks/addit.imc, examples/benchmarks/addit2.imc.
To install Make, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Make
CPAN shell
perl -MCPAN -e shell install Make
For more information on module installation, please visit the detailed CPAN module installation guide.