I recently created a Repo at Github.com. Since I already had MacPorts up and running on my Mac I ran sudo port install git-core to install git.
Unfortunately it also installed the perl58 package which replaced Apple’s Perl. The new perl was installed to /opt/lib/perl and @INC included those directories only. All modules I had previously installed in /Library/Perl. I decided to install Perl again to have the old behaviour again.
I followed this old guide by Apple and adopted it to Perl 5.8.8.
wget ftp://ftp.cpan.org/pub/CPAN/src/perl-5.8.8.tar.gz
tar zxvf perl-5.8.8.tar.gz
cd perl-5.8.8
export LC_ALL=C
echo “export LC_ALL=C” >> ~/.bash_profile
./Configure -de -Dprefix=/usr
make
make test
sudo make install
Now I have my good old Perl back again.

