File size: 504 Bytes
9269f9d
 
 
 
 
 
 
 
 
 
 
 
 
 
2ef47a8
 
 
 
a19d10a
9269f9d
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
use Test::Strict;

use FindBin qw/$Bin/;

# Check syntax, use strict and use warnings on all perl files

local $Test::Strict::TEST_WARNINGS = 1;

# `use v5.36` and later enable warnings (perl 5.35+); Test::Strict only
# knows that for strict. Literal names, matched as `use NAME;`.
push @Test::Strict::MODULES_ENABLING_WARNINGS, map {"v5.$_"} 36, 38, 40, 42;

my @dirs  = ('t', 'bin', "$Bin/../lib/");

all_perl_files_ok(@dirs);

done_testing;