Jacinta Richardson did a Perl best practices talk at Linux Conf Au in Brisbane Australia recently.
It was a pretty good talk and overview of some of the more recent Perl functionality. The emphasis is on writing decent and maintainable code. There has been a lot of work done on pushing a Modern Perl in the last couple of years and I'd like to come back to this and discuss further. For now, Jacinta's talk advertised some modern Perl I was unfamiliar with (as well as some I am).
This is a rough list of particular interest - those in bold I know or use. The rest is new :
state declaration (static var) given ~~ smart match Smart::Comments perlbrew local::lib cpanm module-starter test::most use 5.10.1 perltidy perlcritic --harsh code.pl Scalar::Util, List::Util etc. - built in ORM not SQL use Method::Signatures Path::Class \A - match abs. start of string e.g. /\Amatch/ \Z - match abs. end .. /match\Z/ Change delim i.e. m{//} use qr{} e.g. $lhs = qr{(\w+);(\w+)} --> ?- where we might then use $1 Regex::Common