By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,933 Members | 1,716 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,933 IT Pros & Developers. It's quick & easy.

Installing Perl 5.10 on OSX

P: 14
Ok, so i'm just trying to learn Perl but I want to make sure that I have the latest edition before I get too far into it. By typing "perl -V" in Terminal I can see that I have perl v. 5.8.6 and I would like to install perl 5.10.

I took the source code from the website and followed the installation instructions:

./Configure -des -Dprefix=$HOME/localperl
make test
make install

And it shows no error in installation. But when i type perl -v into terminal it is still loading up pearl 5.8.6. Is there some other way that I have to load up the new version of perl or did i do something wrong in the installation? Sorry, im sure that this is a really basic question but I am new to all of this. Thanks for any help.
Sep 13 '08 #1
Share this Question
Share on Google+
2 Replies


P: 14
Oh and it is currently creating a folder in the directory when i run the installation:

/username/localperl
Sep 13 '08 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
Oh and it is currently creating a folder in the directory when i run the installation:

/username/localperl
Ok, that's fine, but where is the new Perl executable? Is it under /username/localperl/bin? If so, is that in your path?

If not, then what you want to do is find where the current executables are (that are actually being called). Just type "which perl". From there, you should probably delete them and create softlinks to the new executables. At least, that is what I would do.

Regards,

Jeff
Sep 13 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.