Modern Commandline Tool

3,676 views

Published on

Published in: Technology, Art & Photos
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,676
On SlideShare
0
From Embeds
0
Number of Embeds
1,257
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide






























  • Modern Commandline Tool

    1. 1. Modern Command Line Tools 2010/03/05 yokohama.pm #5 Yuji Shimada (xaicron)
    2. 2. Yuji Shimada • @xaicron • Works at GaiaX • CPAN Author • Age of 23
    3. 3. cpanminus
    4. 4. cpanminus get, unpack, build and install module from CPAN
    5. 5. CPAN::Shell
    6. 6. cpan • • (200MB over!) • 02packages.details.txt.gz • Bundle::CPAN •
    7. 7. CPANPULS ? • So heavy • • 5.10 CPANPLUS
    8. 8. cpanminus produced by Tatsuhiko Miyagawa
    9. 9. cpanminus • Perl Script • • MB •
    10. 10. INSTALL cd ~/bin wget http://xrl.us/cpanm chmod +x cpanm # or git clone git://github.com/miyagawa/cpanminus cd cpanminus perl Makefile.PL && make install
    11. 11. SYNOPSYS cpanm Module cpanm MIYAGAWA/Plack-1.0000.tar.gz cpanm ~/mydists/MyCompany-Framework-1.0.tar.gz cpanm http://example.com/MyModule-0.1.tar.gz cpanm http://github.com/miyagawa/Tatsumaki/tarball/master cpanm --interactive Task::Kensho
    12. 12. 17 Plugins bundle changes cp562an cpanfresh cpanidx desktop_notify dist_ini fast_syncing_mirrors git_site_perl github gitpan growl minicpan p5i query_mirror verify_checksums verify_signature
    13. 13. Plugins • ~/.cpanm/plugins • export PERL_CPANM_DEV=1
    14. 14. DEMO
    15. 15. cpanminus root http://subtech.g.hatena.ne.jp/otsune/20100219/ cpanminus
    16. 16. cpan-outdated
    17. 17. cpan-outdated produced by Tokuhiro Matsuno
    18. 18. cpan-outdated • cpan -r • script • • cpanm? friendry
    19. 19. INSTALL cpanm App::cpanoutdated
    20. 20. SYNOPSYS cpan-outdated | xargs cpan -i cpan-outdated | cpanm
    21. 21. DEMO
    22. 22. ack
    23. 23. ack 2006
    24. 24. ack CVS, RCS, .svn, blib -i, -v grep --perl perl by miyagawa-san
    25. 25. ack git svn grep
    26. 26. DEMO

    ×