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

Modern Perl Toolchain

on

  • 2,109 views

Modern Tools for Modern Perl

Modern Tools for Modern Perl

Statistics

Views

Total Views
2,109
Views on SlideShare
2,107
Embed Views
2

Actions

Likes
1
Downloads
10
Comments
0

1 Embed 2

http://www.docshut.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Modern Perl Toolchain Modern Perl Toolchain Presentation Transcript

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