in reply to Re: Re: Dynamicaly loading modules
in thread Dynamicaly loading modules

Hmz,
both tricks work perfectly, and I now use the Evil eval hack (I didn't sell my soul without side-effects ;-)

I only wonder though, I use mod_perl for this little bugger, and the following questions raised:

If you have answers, fellow monks, don't hesitate to shout it out...

Sinister greetings.
"With tying hashes you can do everything God and Larry have forbidden" -- Johan Vromans - YAPC::Europe 2001
`perl -e print; perldoc -q $_

Replies are listed 'Best First'.
Re: Re^3: Dynamicaly loading modules
by perrin (Chancellor) on Feb 13, 2002 at 17:29 UTC
    What do you mean by "cache"? Any code compiled by the perl interpreter will stay there until the process is shut down.

    So, if your reason for only loading the particular module you intend to use was to save memory, it will probably not help much in mod_perl since all of the modules will eventually get loaded into every process.