Re: learning perl 3rd vs 4th

[email protected] (AndrewMcHorney)
Newsgroups perl.beginners
Message-ID <[email protected]>
Hello

I have been reading files with the following command:

@source_lines = (<SOURCE_FILE>);

This has worked until I started reading some very large files. Is 
there a better way to read files? The files I am trying to read now 
are about 300 megabytes in size. The bad news is that the spec has no 
carriage returns or line feeds. We have no control over the spec. I 
need to replace a few characters in the file.

Andrew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.