I think I have settled into a pattern for benchmarking and deploying #Perl code which I followed here:
https://github.com/chrisarg/benchmarking-bits
Use #perlbrew to install a fresh version of #perl , switch to that version and through the process of testing-in-production figure out what is missing so that it can become part of the installation script.
Thinking of doing something similar with #rstats but since there is no equivalent to #perlbrew perhaps setup chroot environments?