]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/lib/indirect/TestRequiredGlobal.pm
Add 'global' option to 'no indirect'
[perl/modules/indirect.git] / t / lib / indirect / TestRequiredGlobal.pm
diff --git a/t/lib/indirect/TestRequiredGlobal.pm b/t/lib/indirect/TestRequiredGlobal.pm
new file mode 100644 (file)
index 0000000..3020efb
--- /dev/null
@@ -0,0 +1,9 @@
+package indirect::TestRequiredGlobal;
+
+sub hurp { new ABC }
+
+BEGIN { eval 'new DEF' }
+
+eval 'new GHI';
+
+1;