| 1 |
# This test was generated for <lib/Dist/Zilla/Util/Test/KENTNL.pm> |
| 2 |
# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.003902 |
| 3 |
# with template 02-raw-require.t.tpl |
| 4 |
my $file = "Dist/Zilla/Util/Test/KENTNL.pm"; |
| 5 |
my $err; |
| 6 |
{ |
| 7 |
local $@; |
| 8 |
eval { require $file; 1 } or $err = $@; |
| 9 |
}; |
| 10 |
|
| 11 |
if( not defined $err ) { |
| 12 |
print "1..1\nok 1 - require ${file}\n"; |
| 13 |
exit 0; |
| 14 |
} |
| 15 |
print "1..1\nnot ok 1 - require ${file}\n"; |
| 16 |
print STDERR "# ${_}\n" for split /\n/, $err; |
| 17 |
exit 1; |