From f9f91368fd716bd684d89013b92b6995f29b24d5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 8 Jul 2013 17:36:06 -0400 Subject: restore the behavior of suppressing warnings in loaded modules the only thing we care about is getting $VERSION out of the modules, we don't actually want to use them, so the warnings are just noise. --- t/lib/warn/Foo/Conflicts.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 t/lib/warn/Foo/Conflicts.pm (limited to 't/lib/warn/Foo/Conflicts.pm') diff --git a/t/lib/warn/Foo/Conflicts.pm b/t/lib/warn/Foo/Conflicts.pm new file mode 100644 index 0000000..e55ead3 --- /dev/null +++ b/t/lib/warn/Foo/Conflicts.pm @@ -0,0 +1,10 @@ +package Foo::Conflicts; +use strict; +use warnings; + +use Dist::CheckConflicts + -conflicts => { + 'Foo::Thing' => 0.01, + }; + +1; -- cgit v1.2.3-54-g00ecf