The Perl Renaissance

Paul Fenwick

cpanm

  • Install modules automatically
  • cperlmin.us perlbrew -
  • lets you select a perl version
  • lets you run it on every version of perl Dist:Zilla -
  • dzil.org
  • deals with making a module
  • two files, dist.ini, and module.pm
  • maintains all the tests and uploads to cpan
  • @Git
    • tags the release
    • won’t release until all committed
  • dzil authordeps | cpanm
    • installs all the dependencies

OO Perl

  • Moose
    • Type Constraints
    • Sub types with regexps
    • Moose type checks and throws exceptions
    • MooseX Method Signatures to get rid of @_
    • Requires true/false
    • Fixed via making a sub type

Regexps

  • Extended regexp, use x
  • Named captures in 5.10
  • regexp debugger, rxrx
    • walks through regexp on the screen

Web Frameworks

  • Dancer
  • Easy web frame work

Plack

  • Everything plugs into Plack
  • Can run it’s own webserver or lighttpd ect…
  • Plug in middlewares
    • compress
    • auth
    • cache
    • it can inject code for debugging

Code review

-Read Perl Best Practises -Perl Critic - it has read PBP - perlcritic –stern test.pm - shows why stuff is bad - gentle, stern, harsh, brutal - Per-project standards or ~ - plug in for dzil

Task Kensho

  • Best of the best of CPAN
  • Do what I mean perl for windows you get this