3 use warnings FATAL => 'all';
8 use lib __DIR__ . '/lib';
10 ok !eval { require Bad };
12 # local $TODO = "The user should see the actual syntax error";
13 like $@, qr{^Global symbol "\$info" requires explicit package name}m;
15 # like($@, qr{^PPI failed to find statement for '\$bar'}m,
16 # 'Bad syntax generates stack trace');