Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Running Perl TK Debugger in Web Program

by vkon (Deacon)
on Mar 31, 2011 at 08:12 UTC ( #896581=note: print w/ replies, xml ) Need Help??


in reply to Running Perl TK Debugger in Web Program

the perltk debugger has a special section about debugging CGI scripts.
have you read it?
have you followed these advices and, if so, what step caused you trouble?


Comment on Re: Running Perl TK Debugger in Web Program
Re^2: Running Perl TK Debugger in Web Program
by roho (Monsignor) on Mar 31, 2011 at 10:45 UTC
    Thanks for your reply vkon, but as I mentioned I already know about adding -d:ptkdb to the perl header line to activate the Perl TK Debugger. My question is how to determine the name of the Perl program which gets executed when the Submit button is clicked on the web page.

    "Its not how hard you work, its how much you get done."

      given that this WEB server is probably at your control, and you even have trusted X11 connection to it, (i.e. DISPLAY), this means that you have full control on what perl is issued.

      So, it will be this perl that is specified on you # line

      #! /usr/local/bin/perl ....
        Thanks, but I'm afraid you still don't understand my original question. See scorpio17's answer. He provided the information I was looking for, which was how to locate and identify the name of the perl program to modify.

        "Its not how hard you work, its how much you get done."

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896581]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-09-03 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls