summaryrefslogtreecommitdiff
path: root/t/lib/Test/Class/Load.pm
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/Test/Class/Load.pm')
-rw-r--r--t/lib/Test/Class/Load.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/lib/Test/Class/Load.pm b/t/lib/Test/Class/Load.pm
new file mode 100644
index 0000000..ab2cd03
--- /dev/null
+++ b/t/lib/Test/Class/Load.pm
@@ -0,0 +1,17 @@
+package # hide from PAUSE
+ Test::Class::Load;
+
+use strict;
+use warnings;
+
+use Class::Load::XS;
+
+$ENV{CLASS_LOAD_IMPLEMENTATION} = 'XS';
+
+require Class::Load;
+
+sub import {
+ Class::Load->export_to_level(1, @_);
+}
+
+1;