--- Jason Purdy <[EMAIL PROTECTED]> wrote:
> Disclaimer: I've read the docs, talked to several folks, and played around
> with the scripts, but I must be missing something.
>
> I'd like to get the "tmon.out" file output from the -d:DProf flag when my
> CGI scripts execute remotely on the web server that I'm developing on, but
> whenever I add the '-d:DProf' flag in the shebang line, I get a 500 Internal
> Server Error. I've also tried setting the 'PERL_DPROF_OUT_FILE_NAME'
> environment variable in a BEGIN block.
>
> Any thoughts?
>
> Thanks in advance,
>
> Jason
I just tested a command line script by putting -d:Dprof in the shebang line and didn't
have any
problem. Of course, I'm using ActiveState here and that might make a difference.
Perhaps you
could tell us what's in your error log?
You could create a new file extension and associate that with the -d:Dprof flag.
Then, run the
script (with the new extension) and manually grab the tmon.out file. You could even
write another
perl script that runs continually in the background and detects the creation of the
tmon.out file,
grabs it, and writes it to a new directory with some sort of identifier embedded in
the filename.
Cheers,
Curtis Poe
=====
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]