For using on a website, I need to create a completely isolated Perl. Not just local::lib isolated module space.
My first thought was using plenv install but it installs new Perl executable only under ${PLENV_ROOT}.
What I need is to install to ~/public_html (or similar), e.g. ~/public_html/prog/env/bin/perl.
And this new Perl executable would use ~/public_html/prog/env/lib as its @INC, and only that!
The web server is running in a different server and for security reasons home directories are not mounted. Whereas the web page directories are mounted to the system in which I use shell. Besides this, the web server is running a seriously limited OS and could be updated not in sync with the other system, including Perl versions. So I need to have everything the software needs in the disk with the web page.</p:
Currently this is not possible with plenv install. But could we make it so? Or is there an existing easy way? Instead of actually manually configuring and building Perl.