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;
In reply to Re: Loading modules through one main module?
by William G. Davis
in thread Loading modules through one main module?
by stonecolddevin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |