mikkoi has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Truly Isolated Perl
by wjw (Priest) on Sep 19, 2018 at 12:24 UTC | |
Re: Truly Isolated Perl
by bliako (Monsignor) on Sep 19, 2018 at 12:34 UTC | |
Re: Truly Isolated Perl
by Haarg (Priest) on Sep 19, 2018 at 12:40 UTC | |
Re: Truly Isolated Perl
by mr_mischief (Monsignor) on Sep 19, 2018 at 19:30 UTC | |
Re: Truly Isolated Perl
by mikkoi (Beadle) on Sep 19, 2018 at 13:05 UTC | |
by AnomalousMonk (Archbishop) on Sep 19, 2018 at 15:21 UTC | |
Re: Truly Isolated Perl
by ikegami (Patriarch) on Sep 21, 2018 at 16:29 UTC |