0
Modern Command Line
       Tools
    2010/03/05 yokohama.pm #5
       Yuji Shimada (xaicron)
Yuji Shimada

• @xaicron
• Works at GaiaX
• CPAN Author
• Age of 23
cpanminus
cpanminus
get, unpack, build and install module
             from CPAN
CPAN::Shell
cpan
•
•                         (200MB over!)

• 02packages.details.txt.gz
• Bundle::CPAN
•
CPANPULS ?

• So heavy
•
• 5.10
      CPANPLUS
cpanminus
produced by Tatsuhiko Miyagawa
cpanminus

•   Perl Script

•
•                 MB

•
INSTALL
cd ~/bin
wget http://xrl.us/cpanm
chmod +x cpanm

# or
git clone git://github.com/miyagawa/cpanminus
cd cpanminus
...
SYNOPSYS
cpanm Module
cpanm MIYAGAWA/Plack-1.0000.tar.gz
cpanm ~/mydists/MyCompany-Framework-1.0.tar.gz
cpanm http://examp...
17 Plugins
   bundle changes cp562an cpanfresh cpanidx
  desktop_notify dist_ini fast_syncing_mirrors
 git_site_perl githu...
Plugins
• ~/.cpanm/plugins
• export PERL_CPANM_DEV=1
DEMO
cpanminus
root


       http://subtech.g.hatena.ne.jp/otsune/20100219/
                          cpanminus
cpan-outdated
cpan-outdated
produced by Tokuhiro Matsuno
cpan-outdated

• cpan -r
•          script

•
• cpanm? friendry
INSTALL


cpanm App::cpanoutdated
SYNOPSYS

cpan-outdated | xargs cpan -i
cpan-outdated | cpanm
DEMO
ack
ack
2006
ack
         CVS, RCS, .svn, blib
                -i, -v          grep
--perl   perl


                                   ...
ack
git          svn
grep
DEMO
Modern Commandline Tool
Modern Commandline Tool
Modern Commandline Tool
Modern Commandline Tool
Upcoming SlideShare
Loading in...5
×

Modern Commandline Tool

3,375

Published on

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

No Downloads
Views
Total Views
3,375
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide






























  • Transcript of "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
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×