in reply to Preventing used modules from leaking to main script
Perl only loads a module once, a list of loaded modules is kept and after the first use it is never actually loaded again. BUT, and there is always a BUT, you need to put use statements wherever you need to use the module, because the original may now be out of scope.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Preventing used modules from leaking to main script
by Crackers2 (Parson) on Sep 20, 2006 at 16:48 UTC | |
by Hue-Bond (Priest) on Sep 20, 2006 at 17:02 UTC | |
by jdtoronto (Prior) on Sep 20, 2006 at 17:55 UTC |