If your modules where only used sometimes, i. e. not every sub is called always when your program runs, you could require them:
sub only_uses_sometimes { require My::Module; # and call import, if you want some exported things }
Now the module will be loaded at run time.
--Frank
In reply to Re: Where and when you should place 'use module;'?
by haoess
in thread Where and when you should place 'use module;'?
by mulander
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |