当我跑...
perlbrew switch perl-5.16.0
......我明白了......
A sub-shell is launched with perl-5.16.0 as the activated perl. Run 'exit' to finish it.
...然后出现一个bash提示符.
这是预期的行为吗?如果没有,我该如何解决?
如果我不执行,我会得到那种行为
source .../perlbrew/etc/bashrc
Run Code Online (Sandbox Code Playgroud)
在尝试使用perlbrew之前在我的shell(bash)中.您是否将其添加到shell启动脚本中?csh有一个类似的脚本:
source .../perlbrew/etc/cshrc
Run Code Online (Sandbox Code Playgroud)