Why does Perlbrew launch bash on Mac OS X Lion?

前端 未结 1 1431
一整个雨季
一整个雨季 2020-12-19 17:09

When I run...

perlbrew switch perl-5.16.0

...I get...

A sub-shell is launched with perl-5.16.0 as the activated perl. Run \'exit\'

相关标签:
1条回答
  • 2020-12-19 18:05

    That happens when you have an improperly installed perlbrew. As part of the installation, you are instructed to add a command to your shell startup script, but that appears to be missing.

    Add the following to your shell startup script:

    source .../perlbrew/etc/bashrc
    

    There's a similar script for csh.

    source .../perlbrew/etc/cshrc
    
    0 讨论(0)
提交回复
热议问题