in reply to Opening a Large Text File
Perhaps buffering your I/O will help, e.g.:
# ***** Display selected log file to the screen ***** # #=comment my @buffer = "<font face='Verdana, Arial, Helvetica, sans-serif' size= +\"2\" color=\"#000000\">"; open( FILE, "< $directory/$file" ) or die "Can't open $directory/$file + : $!"; push @buffer, <FILE>; close FILE; push @buffer, "</font>"; print @buffer; #=cut
-M
Free your mind
|
|---|