Code-Style-Kit
view release on metacpan or search on metacpan
lib/Code/Style/Kit/Parts/Perl526.pm view on Meta::CPAN
package Code::Style::Kit::Parts::Perl526;
use strict;
use warnings;
our $VERSION = '1.0.3'; # VERSION
# ABSTRACT: use features from perl 5.26
use Import::Into;
# use 5.26: say state switch unicode_strings unicode_eval evalbytes
# current_sub fc postderef_qq
sub feature_perl_5_26_default { 1 }
sub feature_perl_5_26_export {
my ($self, $caller) = @_;
require feature;
feature->import(':5.26');
feature->unimport::out_of($caller,'switch'); # we don't want smartmatch!
feature->import::into($caller,'signatures');
require experimental;
( run in 0.366 second using v1.01-cache-2.11-cpan-88abd93f124 )