author | Jakub Narebski <jnareb@gmail.com> | |
Wed, 27 Dec 2006 23:00:52 +0000 (00:00 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 28 Dec 2006 08:57:31 +0000 (00:57 -0800) | ||
commit | b1f5f64fc831eb9f90bd07dc708279a921410bb2 | |
tree | 3c54a00639ef470460af80c495c7894b36c0d383 | tree | snapshot |
parent | 45c9a7583c68ad5d150f40162dab65800124caf2 | commit | diff |
gitweb: Precompile CGI routines for mod_perl
Following advice from CGI(3pm) man page, precompile all CGI routines
for mod_perl, in the BEGIN block.
If you want to compile without importing use the compile() method
instead:
use CGI();
CGI->compile();
This is particularly useful in a mod_perl environment, in which you
might want to precompile all CGI routines in a startup script, and then
import the functions individually in each mod_perl script.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Following advice from CGI(3pm) man page, precompile all CGI routines
for mod_perl, in the BEGIN block.
If you want to compile without importing use the compile() method
instead:
use CGI();
CGI->compile();
This is particularly useful in a mod_perl environment, in which you
might want to precompile all CGI routines in a startup script, and then
import the functions individually in each mod_perl script.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |