#use strict;
#use warnings;
-use lib qw{blib/lib blib/arch};
+use lib qw<blib/lib blib/arch>;
sub Hlagh::new { my $class = shift; bless { }, ref($class) || $class ; }
####
$obj = $pkg->$cb( $obj );
####
-$obj = $pkg->$cb(qw/foo bar baz/);
+$obj = $pkg->$cb(qw<foo bar baz>);
####
$obj = $pkg->$meth;
####
----
[ 'new', '$x' ]
####
-$obj = new $x(qw/bar baz/);
+$obj = new $x(qw<bar baz>);
----
[ 'new', '$x' ]
####
"pragma leak when reusing callback test doesn't croak prematurely";
is_deeply \@w, [ ],
"pragma leak when reusing callback test doesn't warn";
- is_deeply \@err, [ map "indirect::TestRequired3$_", qw/X Z/ ],
+ is_deeply \@err, [ map "indirect::TestRequired3$_", qw<X Z> ],
"pragma leak when reusing callback test caught the right errors";
- is_deeply \@main::new, [ map "indirect::TestRequired3$_", qw/X Y Z/ ],
+ is_deeply \@main::new, [ map "indirect::TestRequired3$_", qw<X Y Z> ],
"pragma leak when reusing callback test ran the three constructors";
}
Test::More::plan(skip_all => $msg);
}
-use Config qw/%Config/;
+use Config qw<%Config>;
BEGIN {
my $force = $ENV{PERL_INDIRECT_TEST_THREADS} ? 1 : !1;
Test::More::plan(skip_all => $msg);
}
-use Config qw/%Config/;
+use Config qw<%Config>;
BEGIN {
my $force = $ENV{PERL_INDIRECT_TEST_THREADS} ? 1 : !1;
my ($code, @expected);
BEGIN {
$code = 2;
- @expected = qw/X Z/;
+ @expected = qw<X Z>;
}
sub cb { --$code if $_[0] eq shift(@expected) || q{DUMMY} }
use threads;
y => sub { };
use indirect::Test0::Fffff::Vvvvvvv
- t => [xxxx=>qw(xxxxxx xxxxxxx)],
+ t => [ xxxx => qw<xxxxxx xxxxxxx> ],
x => sub { $_[0]->method };
1;