[Melbourne-pm] Perl programming best practices 2011
Jacinta Richardson
jarich at perltraining.com.au
Sun Jan 9 21:44:54 PST 2011
G'day folk,
My talk for LCA this year is on Perl's current best practices. It's only 35
minutes or so long, so I can either cover some topics in depth, or many at a
high level, or (more likely) a mix of both. I'm compiling a list of such
things, and I'm wondering what you'd include?
Obvious things to include:
use strict;
use warnings;
use autodie;
use v5.12.0 (or 5.10.1);
say
state
Taint
Perl::Critic
For OO:
use Moose (or Mouse or Any::Moose)
if Moose
* maybe MooseX::MultiMethods
* MooseX::Declare
Roles
Type constraints
c3 mro
For experimentation with:
perlbrew (different perl versions in your home directory)
Local::Lib (local installs of modules)
Module versioning
ie: use Module 1.2.1;
Testing
Test::More
Regular Expressions
\A. \Z
/msi
named captures
escape sequences
Given/when foreach/when smart matching
Try::Tiny
Clearly even mentioning all of this in 35 minutes is going to be tough. Can any
of you think of anything else that I absolutely *must* mention?
J
--
("`-''-/").___..--''"`-._ | Jacinta Richardson |
`6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia |
(_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 |
_..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au |
(il),-'' (li),' ((!.-' | www.perltraining.com.au |
More information about the Melbourne-pm
mailing list