It works fine on a 6MB file but when I try it on a 30MB var/log/messages file it just hangs with 99 % cpu usage and never returns. These are all just plain text files. I am using winxp activestate perl 5.8.8. Is there some restriction(hardware or software) that I am running into? I read about recompiling Perl with some large_file_size option. Would that be the case here and if so does activestate have that version? The 30MB file has about 300,000 lines of text, which doesn't seem too large to me. Thankstie @tied_mess,'Tie::File',$filename,autochomp=>0; print $#tied_mess;
In reply to file size limit with Tie::File by alw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |