Thursday, January 28, 2010

use Devel::NYTProf with CGI and apache

put these lines in the apache virtualhost config file:



SetEnv NYTPROF "file=/tmp/nytprof.out"
SetEnv PERL5OPT "-d:NYTProf"



the output from Devel::NYTProf will go to /tmp/nytprof.out

1 comment:

  1. Thanks.. Your post has helped me
    Parani

    ReplyDelete