我通过macports安装了perl5.14。
通过输入
which perl
Run Code Online (Sandbox Code Playgroud)
我明白了
/usr/bin/perl
Run Code Online (Sandbox Code Playgroud)
我如何更改 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.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6358 次 |
| 最近记录: |