in reply to Write Large data

The original question was (courtesy of http://corion.net/perlmonks/761354.xml):

I am trying to write some data (30 kb) to a text file, but the script get stuck and remains like this for a long time untill i mannually close it... whats the problem with this and whats the Solution for this situation... Thanx