diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-02-06 22:09:40 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-02-06 22:09:40 +0000 |
commit | 3621e4956cb037811317b0195d3248108c6658c3 (patch) | |
tree | 3b72d0c777a6299cb8e96bfdc856487b7358f605 /t/Hints.pm | |
download | Module-Runtime-tarball-master.tar.gz |
Module-Runtime-0.014HEADModule-Runtime-0.014master
Diffstat (limited to 't/Hints.pm')
-rw-r--r-- | t/Hints.pm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/t/Hints.pm b/t/Hints.pm new file mode 100644 index 0000000..7461d49 --- /dev/null +++ b/t/Hints.pm @@ -0,0 +1,17 @@ +package t::Hints; + +use warnings; +use strict; + +use Test::More; + +BEGIN { is $^H{"Module::Runtime/test_a"}, undef; } +main::test_runtime_hint_hash "Module::Runtime/test_a", undef; + +sub import { + is $^H{"Module::Runtime/test_a"}, 1; + $^H |= 0x20000 if "$]" < 5.009004; + $^H{"Module::Runtime/test_b"} = 1; +} + +1; |