Your SlideShare is downloading. ×
Modern Perl Toolchain
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Modern Perl Toolchain

1,846
views

Published on

Modern Tools for Modern Perl

Modern Tools for Modern Perl

Published in: Technology

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,846
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
11
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Modern Perl Toolchain Modern Tools for Modern Perl (Barcelona.pm) Alex Muntada <alexm@alexm.org>
  • 2. App::perlbrew  
  • 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. # Setup App::perlbrew$ ~/perl5/perlbrew/bin/perlbrew init$ source ~/perl5/perlbrew/etc/bashrc
  • 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. App::cpanminus  
  • 7. # Install App::cpanminus $ perlbrew install-cpanm
  • 8. # Use App::cpanminus$ cpanm Foo::Bar$ cpanm --installdeps .
  • 9. Dist::Zilla  
  • 10. # Install Dist::Zilla $ cpanm Dist::Zilla
  • 11. # Setup Dist::Zilla $ dzil setup $ dzil new Foo::Bar
  • 12. # Use Dist::Zilla$ dzil test$ dzil listdeps | cpanm$ dzil authordeps | cpanm$ dzil build$ dzil clean$ dzil run bash$ dzil release
  • 13. my %thanks = ( GUGOD => App::perlbrew, MIYAGAWA => App::cpanminus, RJBS => Dist::Zilla,);