in reply to An Interesting Gotcha With use/require
That should not be a problem if your library declares a package name. Don't make perl4-style libs that just dump all their functions into your main program -- you will regret it.
It was always my understanding that use and require would not try to load a module a second time if it was already listed in %INC.
They will still call import() a second-time though.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: An Interesting Gotcha With use/require
by periapt (Hermit) on Feb 09, 2005 at 17:11 UTC | |
by Anonymous Monk on Feb 09, 2005 at 18:02 UTC | |
by demerphq (Chancellor) on Feb 10, 2005 at 07:16 UTC | |
by Anonymous Monk on Feb 10, 2005 at 09:17 UTC | |
by Anonymous Monk on Feb 10, 2005 at 11:07 UTC | |
Re^2: An Interesting Gotcha With use/require
by Anonymous Monk on Feb 09, 2005 at 15:21 UTC | |
by perrin (Chancellor) on Feb 09, 2005 at 15:56 UTC | |
|