in reply to Using Devel::NYTProf with CGI::Application

Yes, you can do this.

Just modify the shebang line of your CGI::Application Instance script to something like the following:

#!/usr/bin/perl -d:NYTProf

The output file should be created in the same directory as the instance script.

Replies are listed 'Best First'.
Re^2: Using Devel::NYTProf with CGI::Application
by jvector (Friar) on Oct 16, 2012 at 14:53 UTC
    Thank you very much - that Just Worked! And I do apologise for the late reply - I have only just seen this.
Re^2: Using Devel::NYTProf with CGI::Application
by Anonymous Monk on Feb 18, 2014 at 09:54 UTC
    Gr8 .. Thanks a lot :)
Re^2: Using Devel::NYTProf with CGI::Application
by Anonymous Monk on Feb 18, 2014 at 10:11 UTC
    Hi.. But this file is NYTprof.out is not in readable format. I tried to open it with Browser (ie, mozilla).. but no success.plz advise.