Thanks for that. I created a .perldb for 'nobody' in home directory and 
added the '-d'  on the shebang line. The script hung but I could not 
'locate' a db.out anyhwere. Perhaps it closes only if the script finishes!

It did work nicely on commandline though. 

Thanks




"Andrew M. Langmead" <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
01/21/2004 03:34 PM

 
        To:     Ranga Nathan <[EMAIL PROTECTED]>
        cc:     [EMAIL PROTECTED]
        Subject:        Re: [Boston.pm] CGI problems


On Wed, Jan 21, 2004 at 03:14:26PM -0800, Ranga Nathan wrote:
> I like to trace all the statements in a function but output on the web.

There is one recipe in the perldebug man page that might be helpful
to you.

       If your rc file contains:

         parse_options("NonStop=1 LineInfo=db.out AutoTrace");

       then your script will run without human intervention, putting trace
       information into the file db.out. 

Just remember that in the instructions for the .perldb file in the
context of a web server,  "home directory" means the home directory of
the uid that web server runs as and "current directory" means the 
current directory of the web server.

-- 
"Jumping is a lot like flying, except the sudden fall at the end."
-- Samantha Langmead, age 6.
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm



_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to