In addition to the tips above, see Carton, where you declare your dependencies in the cpanfile, then pin specific module versions in the cpanfile.snapshot, and then use Carton during the Docker build to get specific versions installed. This helps you re-create a perfect matching docker container per project.
Comment on Re: Semi-OT: Tips for docker build/deployment with Perl env
Good reminder++. I played around with Carton when it first came out but never had a business need for it because of the way we did deployments but this project could be a candidate for it.