my ($pkg, %sub) = @_;
# Valid callbacks
- my @callback = qw(comp exec);
+ my @callback = qw<comp exec>;
for (@callback) {
next unless exists $sub{$_};
{
my ($re, %callback) = @_;
- my %map = map { $_ => "_$_" } qw/exec/;
+ my %map = map { $_ => "_$_" } qw<exec>;
for my $key (keys %callback) {
my $name = $map{$key};
# # We have :import, generate import and unimport methods in the
# # calling package
# my %pkg;
-# for (qw(comp exec)) {
+# for (qw<comp exec>) {
# no strict 'refs';
# $pkg{$_} = *{"$caller\::$_"}{CODE} if *{"$caller\::$_"}{CODE};
# }
comp => sub {
my ($re) = @_;
- my $sv = [ qw( a o e u ) ];
+ my $sv = [ qw< a o e u > ];
$re->stash( $sv );
},
my $stash = $re->stash;
my $ret = $re->stash( $stash );
ok(!$ret, "stash returns no value on assignment");
- my %h = qw( 0 a 1 o 2 e 3 u );
+ my %h = qw< 0 a 1 o 2 e 3 u >;
for (keys %h) {
is($h{$_}, $stash->[$_]);
}
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" if $@;
-all_pod_coverage_ok({ also_private => [ qw/ENGINE unimport/ ] });
+all_pod_coverage_ok({ also_private => [ qw<ENGINE unimport> ] });