|go ahead... be a heretic|
Code Profiling with Apache::DProf - Getting Error!by vi_srikanth (Acolyte)
|on Jun 07, 2007 at 08:02 UTC||Need Help??|
vi_srikanth has asked for the
wisdom of the Perl Monks concerning the following question:
I am unable to use Apache::DProf! Please help.
This is what I have in httpd.conf:
<FilesMatch "^.*\.pl$"> SetHandler perl-script PerlHandler Apache::Registry PerlModule Apache::DProf </FilesMatch> # Startup script (runs when apache starts) PerlRequire "/srv/spark/conf/startup.pl"
If I execute a perl file through browser, I am getting the following error in the error_log:
[error] Undefined subroutine &Apache::Registry::handler called.\n
as well as getting "Internal Server Error" in the browser.
If I remove the line "PerlModule Apache::DProf" from the httpd.conf, the page is properly getting loaded in the browser without reporting any error.