Thanks for the info. Putting print $! directly after the while statement produced nothing, so I added an END block to the code and put print $! in it. The only thing printed was "Interrupted System Call" which still leaves me not knowing what the heck is going on with it, but hopefully tells one of you gurus what I'm doing wrong.