Skip to content

Commit 8f36dee

Browse files
committed
Explicitly stash the module loader object away somewhere we'll be able to find it even after old package installation code is dropped.
1 parent fb7d90b commit 8f36dee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ModuleLoader.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@ knowhow ModuleLoader {
106106
return $setting;
107107
}
108108
}
109+
110+
# Since this *is* the module loader, we can't locate it the normal way by
111+
# GLOBAL merging. So instead we stash it away in the Parrot namespace tree.
112+
pir::set_hll_global__vsP('ModuleLoader', ModuleLoader);

0 commit comments

Comments
 (0)