perl 5.8 to 5.18 migration.
httpd.conf Carton Perlbrew
1. install perlbrew
2. install perl5.18 with perlbrew.
2. b. rename /usr/bin/perl to /usr/bin/perlWithOS
3. softlink /usr/bin/perl to 5.18 perl bin's perl locaiton
Install carton
Create cpanfile with all relevant packages and versions.
Command: "carton install --path /var/www/cgi-bin/carton"
Apache 2.2
You can SetEnv in apache httpd as:
SetEnv PERL5LIB /var/www/cgi-bin/carton/lib/perl5
httpd.conf Carton Perlbrew
1. install perlbrew
2. install perl5.18 with perlbrew.
2. b. rename /usr/bin/perl to /usr/bin/perlWithOS
3. softlink /usr/bin/perl to 5.18 perl bin's perl locaiton
Install carton
Create cpanfile with all relevant packages and versions.
Command: "carton install --path /var/www/cgi-bin/carton"
Apache 2.2
You can SetEnv in apache httpd as:
SetEnv PERL5LIB /var/www/cgi-bin/carton/lib/perl5