3 use Test::More tests => 2;
5 use warnings FATAL => 'all';
12 my $file = __DIR__ . "/eating_strict_error.fail";
17 is $done, undef, "faulty code doesn't load";
18 is $exc, qq{Global symbol "\$records" requires explicit package name at $file line 5.\nBEGIN not safe after errors--compilation aborted at $file line 9.\n};
19 $exc or die "$file: $err";