I have troubles using Apache::DProf
I try to use it as described at:
http://perl.apache.org/docs/1.0/guide/performance.html#Code_Profiling_Techni
ques
But when my httpd.conf has a line:
PerlModule Apache::DProf
apache reply with error 500 (Internal Server Error) when I request a perl
script, that runs under mod_perl
Without this line, all works fine!
Errorlog shows following message during each request:
[Sat Jul 20 07:34:28 2002] [error] Undefined subroutine
&Apache::Registry::handler called.
I have in my httpd.conf
<Files *.pl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
PerlModule Apache::DProf
PerlRequire /path/to/my/modules/modperl_startup.pl
</Files>
Is here something wrong?
How can I have Apache::DProf worked for profiling my code?
Thanks in advance.
Ruslan