gbowlby isp 113 Jul 12 15:28 dbug.txt
bash-2.05b$ cat dbug.txt
DB<2> main::(test.pl:4): print "x:$x\n";
DB<2> 1 <= mailto:[EMAIL PROTECTED] On Behalf Of
Tom Phoenix
Sent: Wednesday, July 12, 2006 12:11 PM
To: Gavin Bowlby
Cc: perl beginners
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
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
-2.05b$
So no output was sent to either the file "xxx" or "yyy".
I would like to see the results of the Perl debugging session in a file.
Gavin
-Original Message-
From: Chasecreek Systemhouse [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 09, 2006 3:21 PM
To: beginne
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