I have installed the
Perl v5.10 in
/home/admin/localperl location as per the below install commands
./Configure -des -Dprefix=$HOME/localperl make test make install
But when I ran the
$ perl -v command am still seeing
perl, v5.8.8 instead of
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
I am a windows user and in the windows world I usually change the class path to make it work, but am not sure how this can be done in
Ubuntu 8 world, can someone please help?
/bin appears before
/home/admin/localperl/bin in your path.
Add the following to your login script:
(Bourne shell syntax provided; adjust as needed.)
Remember, the scripts that should use this Perl should have the following shebang line:
The standard Perl installers will automatically convert
#!/bin/perl into the above in scripts they install.