setuk4 has asked for the wisdom of the Perl Monks concerning the following question:

I am setting up a perl development environment for the first time in a number of years I want to leverage docker and sublime text plus I run on MAC OSX.

I wanted to use Docker to create a dev env that i could share with others on my team.
I like SublimeText and integration with PerlCritic.
I understand about host mounted volumes to allow me to edit locally and save on the docker container.
What I cant work out is how to avoid installing all the perl dependencies on my MAC to enable Sublime to have access to them and allow the sublime perl critic integration to function.

Is it possible to :-
a) Install the complete perl environment in a docker container (this much i know is true)
b) Use SublimeText on my MAC such that all the Sublime Plugins continue to work from the dependencies in the container?
I also understand that Sublime Text has build plugins for perl but from what i understand that occurs at build time not whilst developing - thus still requiring dependencies locally on the MAC.