Joseph L. Casale <[EMAIL PROTECTED]> asked:
> In another list, I am baffled by the instability of a Perl 
> script that freezes after some time for a user. What can be 
> done to run a Perl script in a debug like mode such that all 
> system calls could be logged so that one could see what was 
> attempted for execution by the script as it hung?

Have a look at "perldoc perldebug":

"Other examples include

  $ PERLDB_OPTS="NonStop LineInfo=listing frame=2" perl -d myprogram

which runs script non-interactively, printing info on each entry
into a subroutine and each executed line into the file named listing."

HTH,
Thomas

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to