Install perl by perlbuild.
in your Berksfile
cookbook 'perl', github: 'DQNEO/cookbook-perl
and run
berks vendor cookbooks
install perl
install cpanm into ['perl']['prefix']/bin/cpanm
install carton into ['perl']['prefix']/bin/carton
|name|default value| |---|---|---| |['perl']['prefix']|/opt/perl| |['perl']['version']| 5.20.1|