in reply to Loading modules through one main module?
To get a module to export what it imports, just copy the sub module's appropriate @EXPORT* array into the module's appropriate @EXPORT* array:
My_Module.pm --------------------------- package My_Module; use warnings; use strict; use vars '@EXPORT'; use base 'Exporter'; use My_Module::My_other_module; @EXPORT = @My_Module::My_other_module::EXPORT;
|
|---|