Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to retain the time in perldebug. my perl script runs for 30 hours. It is difficult to get up in the middle to check the status
in the output below, i have done a break at the line "connect to PT", but i checked this, only after 6 hours, so it started with the next statement with the current time. Can i retain the old time as in "connect to PT" for the next statement
Jun 10 11:47:20 [INFO ] connect to PT Jun 10 17:58:32 [TRACE] next Jun 10 17:58:32 [TRACE] next
This is required for a script with intermittent failures when connecting to PT. Means, if connect to PT passes, connect to next, and retain the old time, otherwise run time will be wrong after the script is completed
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [Q]perldebug time retain
by Laurent_R (Canon) on Jun 11, 2016 at 08:25 UTC | |
|
Re: [Q]perldebug time retain
by $h4X4_|=73}{ (Monk) on Jun 11, 2016 at 09:37 UTC |