Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>> And of course this does not support installing Python, Ruby, Perl on any other software that has its own way of distributing software.

> which is bullshit (although there's no Perl)

Last time i looked Perl could be installed via homebrew...

  $ brew install perl
Also Perl can be installed via MacPorts...

  $ port install perl5
However my preferable way is to use perlbrew (http://perlbrew.pl) which allows you to install & manage multiple versions of Perl and it then allows you to use the normal CPAN toolchain to manage/install your modules.

  # install perlbrew (normal user in ~/perl5)
  $ curl -kL http://install.perlbrew.pl | bash
  
  # install & switch to perl 5.14.2 via Perlbrew
  $ perlbrew install perl-5.14.2
  $ perlbrew switch perl-5.14.2
  $ perl -v   # (will show the perlbrew perl 5.14.2)

  #  Add cpanminus to perl-5.14.2
  $ curl -L http://cpanmin.us | perl - App::cpanminus

  # load Moose module into perl-5.14.2
  $ cpanm Moose


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: