Just for fun, 'RE: Factory Pattern for Class Heirarchy', a node I wrote back in October did loading of modules at runtime. It is not as efficient as autouse, but it allowed me to learn how AUTOLOAD and the UNIVERSAL package worked.
But merlyn is correct in saying to use 'autouse'; it's more correct(read Safer) than my experiment.
In reply to Re: Load only if needed
by johannz
in thread Load only if needed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |