Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Guys!
Im writing a chat type program in perl, its very basic, but I am currently having a problem. I am printing the conversation from a text file, which requires a HTML page refreshing every few seconds to print the file - very annoying!
Is there a way to actually use perl to read the file as it is written, displaying it in real time?
Please advise, thank you so much
Please explain your problem better. What creates this HTML page and who does the refreshing? Is this for a CGI script? What is the Perl script reading the file "as it is written" supposed to do?