http://qs321.pair.com?node_id=229057


in reply to Re: Using CGI::Application in large projects
in thread Using CGI::Application in large projects

Since both mod_perl and dynamic loading and unloading have been mentioned in same post I'd like to mention that dynamic loading of modules should be avoided in mod_perl scenario as it actually wastes more RAM. You should try to preload all modules you use during server startup. It is covered in mod_perl guide.

Another note is that no Module doesn't unload module. It simply calls module's unimport method. See perlfunc:use.

--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org