Ged Haywood wrote:
Hi there,
On Tue, 23 Oct 2001, Issac Goldstand wrote:
Just out of curiosity: are there any efficiency issues regarding
using mod_perl for the exclusive use of a phase other than the
response? In other words, if I want a script to do something other
than return a static page from a file, are there
advantages/disadvantages to using mod_perl over C?
Perl is good if you want to whip up an appetising dish in a jiffy. If
you can do it in C, by all means do. It will likely be faster and use
a LOT less resources on the machine. Ducks and runs for cover :)
Why, Ged?
If I understand correctly Issac's question was whether it makes sense to
use Perl in other than response handlers performance/efficiency wise.
Of course it does and a big part of the eagle book is about this. Why
writing something in C, when you get about the same speed performance in
Perl. Especially if you talk about using Apache API in Perl.
_
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/