Peter --

...and then Peter Scott said...
% 
% At 09:37 AM 6/22/02 -0700, drieux wrote:
...
% >that is in essence the Shell Debugger.
% >
% >Which really is not a 'realDebugger[tm]' because it really
...
% 
% Eh?  The n and s commands do exactly that.  See also the r command.

He didn't mean the perl debgger; he meant sh -x :-)


% 
% Sounded like the original poster wanted tracing.  The t command in the 
% debugger does that.

I agree, and I want that, too.  I'm going to have to check out 't'.


% 
% Tracing isn't generally as useful for a Perl script as for a shell 
% script because a shell script typically executes far fewer statements 
% than the average Perl script.  So the output can be unreasonably verbose.

Yeah.  What we really want is a command or flag that does exactly what -x
does :-)  I forget whether or not -x stays on when you jump into a function, 
but it would be nice to be able to watch perl do its thing and how it sees
the vars that it's testing (in sh you get to see

  [ true = true ]
 
when you wrote 

  [ $var = true ]
  
in your script).


% --
% Peter Scott
% Pacific Systems Design Technologies
% http://www.perldebugged.com/


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg26360/pgp00000.pgp
Description: PGP signature

Reply via email to