OS X.

有几种选择:

  • Perlbrew

    # You need to install Command Line Tools for Xcode  
    curl -L https://install.perlbrew.pl | bash
    
  • Perlbrew 有线程支持:

    # You need to install Command Line Tools for Xcode  
    curl -L https://install.perlbrew.pl | bash
    

    在安装 perlbrew 之后,如果你想安装带有线程支持的 Perl,只需运行:

    perlbrew install -v perl-5.26.0 -Dusethreads
    
  • 来自:

    tar -xzf perl-version.tar.gz
    cd perl-version
    ./Configure -de
    make
    make test
    make install