summaryrefslogtreecommitdiffstats
path: root/t/hide_middleman
diff options
context:
space:
mode:
authorChad 'Exodist' Granum <exodist7@gmail.com>2011-12-20 15:43:57 -0800
committerJesse Luehrs <doy@tozt.net>2012-01-04 15:18:54 -0600
commit1034da1ff657419f79977ab52bb2e9e0f7b3a413 (patch)
tree2681881422e9f8412995dd815acdee06d3a69dac /t/hide_middleman
parent86d622ad73616e201ae69d0836b4db1cdd01130c (diff)
downloadcircular-require-1034da1ff657419f79977ab52bb2e9e0f7b3a413.tar.gz
circular-require-1034da1ff657419f79977ab52bb2e9e0f7b3a413.zip
Add feature to hide modules that may call require for you when desired.
Diffstat (limited to 't/hide_middleman')
-rw-r--r--t/hide_middleman/Bar.pm7
-rw-r--r--t/hide_middleman/Foo.pm6
2 files changed, 13 insertions, 0 deletions
diff --git a/t/hide_middleman/Bar.pm b/t/hide_middleman/Bar.pm
new file mode 100644
index 0000000..486f8dd
--- /dev/null
+++ b/t/hide_middleman/Bar.pm
@@ -0,0 +1,7 @@
+package Bar;
+use strict;
+use warnings;
+
+use base 'Foo';
+
+1;
diff --git a/t/hide_middleman/Foo.pm b/t/hide_middleman/Foo.pm
new file mode 100644
index 0000000..463f6ec
--- /dev/null
+++ b/t/hide_middleman/Foo.pm
@@ -0,0 +1,6 @@
+package Foo;
+use strict;
+use warnings;
+
+use Bar;
+1;