Loading function?

2002-04-18 Thread VML
Hi All, We have script that including functions in different file. Can I pre-loading the functions? Where I put it? into startup.pl? How I pre-loading it? Here is my startup.pl #/usr/bin/perl use strict; # only library-type routines should go in this directory use lib "/var/www/perllib"; # Wh

Mod_perl slower than mod_cgi, Please Help!

2002-04-15 Thread VML
Hi All, Our company planning to move from Perl/CGI to mod_perl. But when we test, mod_perl is slower than mod_cgi. I test with these script: # TESTING SCRIPT 1 use Time::HiRes qw(usleep ualarm gettimeofday tv_interval); $t0 = [gettimeofday]; # CODE HERE