in reply to Re: use/require $MODULE (a variable)
in thread use/require $MODULE (a variable)
But!, if one of the loaded Modules uses Exporter to export its symbols into the caller package, the problem is that the caller package is not main! I.e. the Modules are not exporting their symbols into main. Hence, if I have a module that exports a subroutine symbol into main, if I
directly, I can call the subroutine without a qualified package designator. But when my loader loads the Module, I can only call the subroutine with the fully qualified package name.use Module;
Why isn't the Exporter working in this case to export the Module's symbols into main?
thanks,
-cadphile
|
|---|