我通過macports安裝了perl5.14。如何將默認的perl安裝更改爲macports安裝的默認安裝
通過鍵入
which perl
我得到
/usr/bin/perl
如何修改我的Perl來點的MacPorts之一。
我的.profile文件是:
# MacPorts Installer addition on 2012-02-02_at_14:42:32: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
應該工作什麼'ls -l/opt/local.bin/perl *'顯示? – Mark 2012-02-05 12:26:46