2 use warnings FATAL => 'all';
3 use Test::More qw(no_plan);
6 !eval { require lib::with::preamble::example::strict; 1 },
10 like($@, qr{Global symbol "\$orz" requires explicit package name(?: \([^)]+\))? at \S+lib/with/preamble/example/strict.pm line 3}, 'Error has right name and line');