Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Running Perl TK Debugger in Web Program

by vkon (Curate)
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

Replies are listed 'Best First'.
Re^2: Running Perl TK Debugger in Web Program
by roho (Abbot) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896581]
[TCLion]: Good Morning Monks, I am parsing logs and some date time formats are inconsistent. I am trying to make output all same format. What is the best way to convert a month(word) to month(number)?
[Corion]: TCLion: I'm not aware of a better way than manually building the hash, as all strptime incarnations I know have nasty edge cases
[davido]: And remember; time is hard. :) As soon as you think, I've got this, you'll discover that time is harder than that. :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-03-23 14:40 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (287 votes). Check out past polls.