Hacker News new | comments | show | ask | jobs | submit login

Speaking of Moose, dependencies and reliability: I love Perl but today having to download the whole CPAN to use a MongoDB driver (based on Moose) forced me to switch to pure javascript with mongo js interpreter.

You don't need to download the whole of CPAN to install Moose: http://deps.cpantesters.org/?module=Moose&perl=5.16.0...

MongoDB (if that's what you are using?) has a few more dependancies however it actually uses Any::Moose and so could you Mouse instead of Moose: http://deps.cpantesters.org/?module=MongoDB&perl=5.16.0&...

Were you using cpanminus to install your modules? Because its much faster than default cpan command.

I just tested using cpanminus (cpanm) on a vanilla perl install and installing Moose & MongoDB modules took 4 minutes here.

Here's a summary:

  Install perl-5.16.0 via perlbrew - under 15 mins
  Install cpanminus - 5 secs 
  cpanm Moose       - 2 mins 5 secs (installed 22 distros)
  cpanm MongoDB     - 1 min 52 secs (installed another 20 distros)
Here's the log: https://gist.github.com/2836306

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact