Perl Debugger: DBD::mysql::db do failed: MySQL server has gone away at

2013-07-30 Thread mimic...@gmail.com
In my script, I previous connected and disconnected to the database within every subroutine. Now I have made changes and it now connect/disconnect to mysql only once within main:: (at the start and end of script respectively). Although my script works fine, I am wondering whether this is the best

RE: question on redirecting output of Perl debugger commands

2006-07-12 Thread Gavin Bowlby
Tom, WC: Thanks! This works (almost) perfectly. I issued the open $DB::OUT, "| tee dbug.txt" as a Perl Debugger command. The output is a little funky when displaying Perl debugger keyboard commands entered by the user, but the output produced by the Perl debugger is captured fai

Re: question on redirecting output of Perl debugger commands

2006-07-12 Thread Tom Phoenix
On 7/12/06, Gavin Bowlby <[EMAIL PROTECTED]> wrote: I would like to see the results of the Perl debugging session in a file. The debugger wasn't made with that in mind, but you could work around it. At least, this works for me. open $DB::OUT, "| tee dbug.txt" or die if $DB::OUT; You may fin

Re: question on redirecting output of Perl debugger commands

2006-07-12 Thread Chasecreek Systemhouse
On 7/12/06, Gavin Bowlby <[EMAIL PROTECTED]> wrote: bash-2.05b$ cat test.pl #!/usr/bin/perl $x = 1; print "x:$x\n"; bash-2.05b$ perl -d test.pl | tee xxx 2>&1 > yyy Hmmm. You know, when posted previously I guess I should have stated that I had not yet gotten it to work myself but posted any

RE: question on redirecting output of Perl debugger commands

2006-07-12 Thread Gavin Bowlby
WC: Thanks for your response! I think what you suggested works fine for normal shell commands, but it doesn't appear to work for the Perl debugger. Here's a sample session, running on a Linux machine: bash-2.05b$ cat test.pl #!/usr/bin/perl $x = 1; print "x:$x\n";

Re: question on redirecting output of Perl debugger commands

2006-07-09 Thread Chasecreek Systemhouse
On 7/7/06, Gavin Bowlby <[EMAIL PROTECTED]> wrote: Is there a way to redirect the output of a debugger command to a file? What I use is Linux specific, sort of varies by bash and distro for example, but you are welcome to try it out (I asked in irc #bash before posting here) - ls -ial |tee cap

question on redirecting output of Perl debugger commands

2006-07-07 Thread Gavin Bowlby
mmand window only allows a maximum depth of 10K lines, which is much less than what I need to view all of my variables. The other complication is I need a combination of application keyboard commands and Perl debugger commands to get to the point when I want to issue the Perl debugger "X" com

RE: Using the perl debugger with options

2005-02-23 Thread radhika
> Did you try: > > perl -d /path/to/my_perl_script --install --dbname="blah" > > That works for me on my scripts with Getopt::Long > > > Hi, I did try: perl -d ./my_script --install --dbname="bbb" That did not seem to work for me. It could be that certain modules I am writing are not loading

RE: Using the perl debugger with options

2005-02-23 Thread Tyson Sommer
> -Original Message- > From: radhika [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 22, 2005 12:37 PM > To: beginners@perl.org > Subject: Using the perl debugger with options > > Hi, > I am a beginner perl programmer (but not exactly a novice) > and

Using the perl debugger with options

2005-02-22 Thread radhika
Hi, I am a beginner perl programmer (but not exactly a novice) and am writing a perl module which is itself inherited from another module. Also my perl script uses getopts for various command line options. How can I use the perl debugger with cmd line options? every time I do: ./my_perl_script

Re: Perl Debugger

2003-10-11 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jeff Westman) writes: >Hi, > >I'm using perl version 5.6.1 for Unix (HPUX-11). I would like to be able to >retain my 'watches' and breakpoints in between debug sessions. Is there a >way to do this with the standard debug library that comes with

Perl Debugger

2003-10-09 Thread Jeff Westman
Hi, I'm using perl version 5.6.1 for Unix (HPUX-11). I would like to be able to retain my 'watches' and breakpoints in between debug sessions. Is there a way to do this with the standard debug library that comes with perl? (I know I can save these with the ptkdb package, but I cannot get that t

Re: Perl Debugger IDE

2002-06-28 Thread Shawn
Hey Peter, thanks for the response, I had crawled back into my hacking hole, and just came up for air... I am not proficient at all with the perl debugger, that is why I was looking for a gui version (not to mention the fact that Activestate's PDK took the command line debug over)...

Re: Perl Debugger IDE

2002-06-26 Thread Peter Scott
At 02:09 AM 6/25/02 -0500, Shawn wrote: >Does anyone know of a IDE debugger that does not choke on complex data >objects? I have tried all of the following, but they all have a >serious problem with dereferencing an array of referenced hashes... > >VisiPerl >Open Perl IDE >OptiPerl >ActiveState

Perl Debugger IDE

2002-06-24 Thread Shawn
Does anyone know of a IDE debugger that does not choke on complex data objects? I have tried all of the following, but they all have a serious problem with dereferencing an array of referenced hashes... VisiPerl Open Perl IDE OptiPerl ActiveState's PDK I am getting the "Bizarre copy of ARRAY

Re: Perl debugger window

2002-01-17 Thread Jenda Krynicky
From: "Gary Hawkins" <[EMAIL PROTECTED]> > I mentioned the perl debugger before but I guess some people would not have had > the GUI version available. It comes with the Perl Development Kit, so I should > clarify. > > Don't know about *n*

Perl debugger window

2002-01-17 Thread Gary Hawkins
I mentioned the perl debugger before but I guess some people would not have had the GUI version available. It comes with the Perl Development Kit, so I should clarify. Don't know about *n*x but if you installed ActivePerl on Windows, then install the Perl Development Kit and try: >

PERL Debugger trace question...

2002-01-17 Thread Richard.C.1
I'm new to using the debugger and have printed and read the debugger description and commands. It mentions that you can create a command/parameter file that contains commands but doesn't say how or where it must be located. I would like to have some way of doing an autotrace on a PL program as it

Re: perl debugger

2001-08-03 Thread Elaine -HFB- Ashton
Ruth Albocher [[EMAIL PROTECTED]] quoth: *>hi all. *>Is there any good stable graphic debugger for perl? There are several, depending on your platform. Go out and get "Perl Debugged" by Peter Scott as it covers the Perl debugger and the tools very well. http://www.bookpool.co

RE: perl debugger

2001-08-03 Thread Crowder, Rod
-Original Message- From: Ruth Albocher [mailto:[EMAIL PROTECTED]] Sent: 02 August 2001 10:56 To: [EMAIL PROTECTED] Subject: perl debugger hi all. Is there any good stable graphic debugger for perl? thanks Try the one in the ActiveState Perl Dev Kit. You can

perl debugger

2001-08-02 Thread Ruth Albocher
hi all. Is there any good stable graphic debugger for perl? thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]