| i am trying to run some maintenance scripts on my unix server. some of these can run for hours if not days. at the end of the script i write a log file including all the tracking information needed to evaluate the performance. many times these scripts need to be terminated early and therefore never reach the log portion of the script. i am looking for a way to accept keyboard input during runtime so i can still write the output file and then pick up later. does perl have a "keypressed" equivalent of pascal or even vb? any help or links to information would be appreciated. thnx in advance. |
In reply to keyboard input during runtime... by Shadowfax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |