Perl 5.x and Carton manage packages.
The development team is backward and have resistance (a lot ) to change.
/var/www/cgi-bin (current folder).
So.
1. install perlbrew and cpanm.
2. install any perl >= 5.16 for and above using perlbrew at non-os location in linux.
3. rename /usr/bin/perl to /usr/bin/perlWithOS
4. do a softlink to perlbrew created perlbrew as:
ln -s /usr/local/perlbrew/perl5/5.18.1/bin/perl /usr/bin/perl
(CHEATING)
-make sure "perlbrew list" shows current perl with * before as it is active
5. install carton now on perlbrew installed perl
6. create a cpanfile at /var/www/cgi-bin
carton install --path carton
this creates a folder called carton under /var/www/cgi-bin (current folder).
Then add these files to git.
git add cpanfile
git add cpanfile.snapshot
git commit "first checkin"
The development team is backward and have resistance (a lot ) to change.
/var/www/cgi-bin (current folder).
So.
1. install perlbrew and cpanm.
2. install any perl >= 5.16 for and above using perlbrew at non-os location in linux.
3. rename /usr/bin/perl to /usr/bin/perlWithOS
4. do a softlink to perlbrew created perlbrew as:
ln -s /usr/local/perlbrew/perl5/5.18.1/bin/perl /usr/bin/perl
(CHEATING)
-make sure "perlbrew list" shows current perl with * before as it is active
5. install carton now on perlbrew installed perl
6. create a cpanfile at /var/www/cgi-bin
requires 'Data::Dump', '1.22';7. execute command :
requires 'Test::Simple', '0.98';
.......
requires 'LWP', '6.05';
requires 'DBD::Oracle', '1.66';
requires 'SOAP::Lite';
~
carton install --path carton
this creates a folder called carton under /var/www/cgi-bin (current folder).
Then add these files to git.
git add cpanfile
git add cpanfile.snapshot
git commit "first checkin"