in reply to 'require' vs. 'do' vs. SSI include

When running under mod_perl, multiple calls through SSI are very efficient. When using CGI, they are not. So, if you have to stick with CGI, use the "everything from one Perl script" approach. If you can use mod_perl, the SSI approach would be my first choice, although either way can work.

Replies are listed 'Best First'.
Re^2: 'require' vs. 'do' vs. SSI include
by Stenyj (Beadle) on Jun 26, 2004 at 18:14 UTC
    Thx to everyone for their feedback. It's been greatly appreciated.

    I'm going to go with CGI-driven for everything. The dynamic content is VERY dynamic (changes all the time, depending on several factors... and can vary immensely between users), so having a template file do all the deciding on what is and isn't displayed would probably be inneficient, and mind numbing to code & keep updated.

    Now just to figure out how to get index.cgi as my default file rather then index.shtml
    :-)

    Thx again guys!

    Steny