*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
The Perl that is installed only has MySQL and Oracle drivers installed. If you need to install perl modules from CPAN the following "may" work.
This is ADVANCED documentation and may not work.
From PHPSHell
$ wget http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-[latest version].tar.gz $ tar -zxvf local-lib-[latest version].tar.gz $ perl Makefile.PL --bootstrap=[bootstrap dir] $ perl -I[bootstrap dir]/lib/perl5 -M"local::lib '[bootstrap dir]'" -MCPAN -e 'CPAN::install([perl module name])' # wait for it $ perl -I[boostrap dir] -M"local::lib '[boostrap dir]'" > wrapper.sh $ chmod u+x wrapper.sh $ editor wrapper.sh $ cat wrapper.sh #!/bin/sh export PERL_LOCAL_LIB_ROOT="[boostrap dir]"; export PERL_MB_OPT="--install_base [boostrap dir]"; export PERL_MM_OPT="INSTALL_BASE=[boostrap dir]"; export PERL5LIB="[boostrap dir]/lib/perl5/i686-linux:[boostrap dir]/lib/perl5"; export PATH="[boostrap dir]/bin:$PATH"; exec ./demo.pl $ cat demo.pl #!/bin/env perl use local::lib '[boostrap dir]'; use [perl module name]; print "Content-type: text/html\n\n"; print "<html><head><title>loaded [perl module name]</title></head><body>Loaded [perl module name]</body></html>";