On 07/08/2014 07:20 AM, Uday Vernekar wrote:
Hi All,
Currently I am using perl 5, version 12, subversion 4 (v5.12.4)
Kindly suggest on how to upgrade to latest version of Perl
with regards
Uday V G
--
*********************************************************
Don't ask them WHY they hurt you,
because all they'll tell you is lies and excuses.
Just know they were wrong, and try to move on.
**********************************************************
As root:
wget https://raw.github.com/tokuhirom/Perl-Build/master/perl-build
chmod +x perl-build
mkdir /opt/perl-5.20.0/
./perl-build 5.20.0 /opt/perl-5.20.0/
ln -s /opt/perl-5.20.0/bin/ /opt/perl/current/bin
Now in your .bashrc:
export PATH=/opt/perl/current/bin:${PATH}
Now install needed modules:
wget -O cpanm http://cpanmin.us
chmod +x cpanm
./cpanm <big list of your favorite modules here>
Installing as a non-root user:
Basically the same except leave off the directory parameters for
'/opt/perl-5.20.0/'. Everything will default into ~/perl5
--Sam
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/