Successfully reported this slideshow.

Modern Perl Toolchain

5

Share

Loading in …3
×
1 of 13
1 of 13

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

Modern Perl Toolchain

  1. 1. Modern Perl Toolchain Modern Tools for Modern Perl (Barcelona.pm) Alex Muntada <alexm@alexm.org>
  2. 2. App::perlbrew  
  3. 3. # Install latest App::perlbrew $ sudo apt-get install git-core $ mkdir ~/git $ cd ~/git $ git clone https://github.com/gugod/App-perlbrew.git $ cd App-perlbrew $ ./perlbrew install
  4. 4. # Setup App::perlbrew $ ~/perl5/perlbrew/bin/perlbrew init $ source ~/perl5/perlbrew/etc/bashrc
  5. 5. # Install a new Perl $ sudo apt-get install build-essential $ sudo apt-get install libssl-dev libxml2-dev $ perlbrew install perl-5.12.2 --as my-perl $ perlbrew list $ perlbrew switch my-perl $ perlbrew off $ perlbrew use my-perl
  6. 6. App::cpanminus  
  7. 7. # Install App::cpanminus $ perlbrew install-cpanm
  8. 8. # Use App::cpanminus $ cpanm Foo::Bar $ cpanm --installdeps .
  9. 9. Dist::Zilla  
  10. 10. # Install Dist::Zilla $ cpanm Dist::Zilla
  11. 11. # Setup Dist::Zilla $ dzil setup $ dzil new Foo::Bar
  12. 12. # Use Dist::Zilla $ dzil test $ dzil listdeps | cpanm $ dzil authordeps | cpanm $ dzil build $ dzil clean $ dzil run bash $ dzil release
  13. 13. my %thanks = ( GUGOD => 'App::perlbrew', MIYAGAWA => 'App::cpanminus', RJBS => 'Dist::Zilla', );

×