Prague.pm
20 minutes
Intermediate
English
Use of some new Perl features can be turned on by the "feature" pragma - e.g. say, switch, state, signatures. Some other additions are turned on automatically in respective versions of Perl and are usually just mentioned in perldelta. I'll introduce Syntax::Construct, a module to explicitly declare which of the latter features a script's going to use. I'll show why I think we need it, who can benefit from it, and how it and its tests are implemented.