in reply to Re^2: Using a module more than once
in thread Using a module more than once

yes -- use causes everything to be loaded at the beginning.. if you want it conditionaly loaded, one way is to do require Foo::Bar instead. (Also see my other reply below)

Update: See Also:

Replies are listed 'Best First'.
Re^4: Using a module more than once
by kwaping (Priest) on Aug 02, 2005 at 15:36 UTC
    Great, thanks for the clarification! I'll switch to one of those other styles (either doing all the "use" statements at the head of the file, or using require instead).