use strict;
use warnings;
-use POSIX qw/WIFEXITED WEXITSTATUS EXIT_FAILURE/;
+use POSIX qw<WIFEXITED WEXITSTATUS EXIT_FAILURE>;
BEGIN {
no warnings 'redefine';
CORE::warn(@_) unless $_[0] =~ /^Constant subroutine.*redefined/;
} if _constant_sub(do { no strict 'refs'; \&$fqn });
no strict 'refs';
- no warnings qw/prototype redefine/;
+ no warnings qw<prototype redefine>;
*$fqn = $placeholder;
}
}
$test .= "{\n$code\n}\n";
$test .= "}\n";
- for my $name (grep +{ map +($_, 1), qw/foo bar blech/ }->{ $_ }, @names) {
+ for my $name (grep +{ map +($_, 1), qw<foo bar blech> }->{ $_ }, @names) {
$test .= <<" CHECK_SUB"
{
local \$call_$name = 1;