NAME

Code::Style::Kit::Parts::Perl526 - use features from perl 5.26

VERSION

version 1.0.2

SYNOPSIS

  package My::Kit;
  use parent qw(Code::Style::Kit Code::Style::Kit::Parts::Perl526);
  1;

Then:

  package My::Package;
  use My::Kit;

  # you can now use say, state, __SUB__, fc, my sub,
  # sub foo($arg,@etc), $a->@*

DESCRIPTION

This part defines the perl_5_26 feature, enabled by default, which enables all the features of perl version 5.26 (but not switch, because given / when and the smartmatch operator are not stable). It also enables subroutine signatures (which are experimental, but stable enough).

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

COPYRIGHT AND LICENSE

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.