Modern Perl Toolchain
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Modern Perl Toolchain

  • 2,237 views
Uploaded on

Modern Tools for Modern Perl

Modern Tools for Modern Perl

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,237
On Slideshare
2,235
From Embeds
2
Number of Embeds
1

Actions

Shares
Downloads
11
Comments
0
Likes
2

Embeds 2

http://www.docshut.com 2

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,);