At the moment i am running git 22.214.171.124, perl 5.12.3 as well as python 2.7.1 on osx 10.7.3, which were all included in the basic system setup. Applying the "which" command the locations are:
/usr/bin/git /usr/bin/perl /usr/bin/python
I wanted to keep those versions untouched and upgrade and install the latest ones aside. If they are installed within '/usr/local/bin' and inside of '.bash_profile' '/usr/local/bin' is placed at the first position of 'export PATH=' and you are applying 'which' afterwards the location would be:
Now the question is which version of git, perl and or python osx would be using. Basically i guess it would use the versions from '/usr/local/bin' too? Or are the absolute paths of '/usr/bin' been hardcoded within the parts of osx and xcode requiring them? Thanks r.