in reply to closures: anonymous subs vs function templates?
From 5.12 and onwards, specifying the version of Perl you wish to use will automatically turn on strictures for you.
use v5.12; # includes use strict; [download]