cpanm 1.6 at OSDC.TW

cpanm 1.6 at OSDC.TW

What's new in cpanm 1.6 and sneak preview for 1.7, presented at OSDC.TW 2013 in Taipei.

B2d653d5d663e750a2cd57bfbc9b727f?s=128

Tatsuhiko Miyagawa

April 19, 2013
Tweet

Transcript

  1. cpanm 1.6 Tatsuhiko Miyagawa @miyagawa OSDC.TW 2013 Friday, April 19,

    13
  2. Me • Tatsuhiko Miyagawa • Lives in San Francisco •

    {github,twitter,CPAN}/miyagawa Friday, April 19, 13
  3. Friday, April 19, 13

  4. cpanminus tiny, standalone CPAN installer that "just works" Friday, April

    19, 13
  5. vs. other installers Sane defaults. Quiet output. Fast and lightweight.

    One file install. Friday, April 19, 13
  6. %  curl  -­‐L  cpanmin.us  \ |  perl  -­‐  App::cpanminus Friday,

    April 19, 13
  7. ♥ perlbrew, plenv Friday, April 19, 13

  8. % cpanm Plack Successfully installed Plack-1.0023 1 distribution installed %

    Friday, April 19, 13
  9. cpanm 1.6 released in 2/26 Friday, April 19, 13

  10. What's new? Friday, April 19, 13

  11. Pinning versions Flexible version query Friday, April 19, 13

  12. ♥ MetaCPAN Friday, April 19, 13

  13. --dev Friday, April 19, 13

  14. install via git Friday, April 19, 13

  15. cpanfile support Friday, April 19, 13

  16. Live DEMO Friday, April 19, 13

  17. cpanm 1.7 In development Friday, April 19, 13

  18. Sneak Preview • Smaller executable size: 350KB -> 230KB •

    ♥ Travis CI + CPANTS • Better prerequisite spec support • Buildargs support • Uninstall Friday, April 19, 13
  19. Friday, April 19, 13

  20. Friday, April 19, 13

  21. Friday, April 19, 13

  22. # cpanfile on develop => sub { requires 'Test::Pod'; recommends

    'Devel::NYTProf'; }; > cpanm --installdeps . \ --with-develop Friday, April 19, 13
  23. # cpanfile feature 'sqlite' => sub { requires 'DBD::SQLite' recommends

    'DBI', 3.1; }; > cpanm --installdeps . \ --with-feature=sqlite Friday, April 19, 13
  24. cpanm DBD::mysql \ --configure-args="--with-mysql=/usr/local/ mysql" Friday, April 19, 13

  25. cpanm --uninstall DBI cpanm -U DBI Friday, April 19, 13

  26. cpanm 1.7 May, 2013 Friday, April 19, 13

  27. cpanm  -­‐-­‐dev App::cpanminus Friday, April 19, 13

  28. github.com/ miyagawa/cpanminus Friday, April 19, 13

  29. speakerdeck.com /miyagawa Friday, April 19, 13

  30. ँँ㟬ᡒ Friday, April 19, 13

  31. Questions? Friday, April 19, 13