Code::Style::Kit::Parts::Perl516 - use features from perl 5.16
version 1.0.0
package My::Kit; use parent qw(Code::Style::Kit Code::Style::Kit::Parts::Perl516); 1;
Then:
package My::Package; use My::Kit; # you can now use say, state, __SUB__, fc
This part defines the perl_5_16 feature, enabled by default, which enables all the features of perl version 5.16 (but not switch, because given / when and the smartmatch operator are not stable).
perl_5_16
switch
given
when
Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>
This software is copyright (c) 2019 by BroadBean UK, a CareerBuilder Company.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Code::Style::Kit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Code::Style::Kit
CPAN shell
perl -MCPAN -e shell install Code::Style::Kit
For more information on module installation, please visit the detailed CPAN module installation guide.