in reply to Can I compute memory taken by a perl script?
The only difference is, mod_perl executes the same copy of the parsed script in memory in order to gain a significant performance increase.
For scripts that only run occasionally or where performance isn't a factor, mod_perl is (probably) a waste of memory.
The real benefit from mod_perl comes when running several scripts that all use the same modules. In this case you can pre-load those modules once and share them between the different scripts.
|
|---|