From b6692177144c213f5efeb79355569a64407e8f14 Mon Sep 17 00:00:00 2001 From: Evan Giles Date: Mon, 1 Jul 2019 08:25:46 +1200 Subject: Update t/00-compile.t to use OO interface ...because the functional interface is deprecated. --- t/00-compile.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/00-compile.t b/t/00-compile.t index 0b0ce37..8e594a8 100755 --- a/t/00-compile.t +++ b/t/00-compile.t @@ -5,4 +5,6 @@ use 5.010; use Test::More; use Test::Compile; -all_pl_files_ok('bin/hashl'); +my $test = Test::Compile->new(); +$test->all_files_ok('bin/hashl'); +$test->done_testing(); -- cgit v1.2.3 From 8d8c88cce46c0d3124a1ba242daa0d2072406e82 Mon Sep 17 00:00:00 2001 From: Evan Giles Date: Tue, 2 Jul 2019 20:00:31 +1200 Subject: Update Build.PL so that App::Hashl depends on v1.3.0 of Test::Compile --- Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.PL b/Build.PL index e629968..2bbecc3 100644 --- a/Build.PL +++ b/Build.PL @@ -7,7 +7,7 @@ use Module::Build; my $build = Module::Build->new( build_requires => { 'Test::More' => 0, - 'Test::Compile' => 0, + 'Test::Compile' => "1.3.0", 'Test::Pod' => 0, }, module_name => 'App::Hashl', -- cgit v1.2.3