diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-08 17:36:06 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-08 17:36:27 -0400 |
commit | f9f91368fd716bd684d89013b92b6995f29b24d5 (patch) | |
tree | e625e5451c889526f9b2570976fe67c607ad82dc /t/lib/warn/Foo/Thing.pm | |
parent | 04a6fd13f7ea3a45881d6e75ea1dffba38a999fd (diff) | |
download | dist-checkconflicts-f9f91368fd716bd684d89013b92b6995f29b24d5.tar.gz dist-checkconflicts-f9f91368fd716bd684d89013b92b6995f29b24d5.zip |
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.
Diffstat (limited to 't/lib/warn/Foo/Thing.pm')
-rw-r--r-- | t/lib/warn/Foo/Thing.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/lib/warn/Foo/Thing.pm b/t/lib/warn/Foo/Thing.pm new file mode 100644 index 0000000..8dfa0b4 --- /dev/null +++ b/t/lib/warn/Foo/Thing.pm @@ -0,0 +1,9 @@ +package Foo::Thing; +use strict; +use warnings; + +our $VERSION = 0.02; + +warn "Loading Foo::Thing"; + +1; |