That helped. Thank you!
I guess when the script is interrupted by Ctrl+C, it causes this block some of the times. The strange thing is that even restarting the computer earlier didn't help. Thanks again.
I have a script that is supposed to write output to files. It usually works fine.
Sometimes I run it and it would not write a single line to a file it is supposed to write to. Later, it would spontaneously resume working normally. E.g.
open (RESULTS, '>results.txt');
print RESULTS "BLAH"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.