Hi,
I have written a simple Perl/Tk application. In this application I let users to view a text file. When users try to open a large file, they complain that it takes too long to open the file comparing to other text editors. I have decided to remove this function (opening a text file to view) from my application. Before I remove it I just want to find out if there is an elegant and fast way of opening a file in text widget. My code opens the file reads each line and inserts it into text widget, and apparently that takes too long. Any suggestions?