in reply to
File parsing
As an aside, you might want to replace
foreach (readline FILE) {
[download]
with
while (<FILE>) {
[download]
The former reads the whole file into memory before processing it, which may become a problem with large files.
Dave.
Comment on
Re: File parsing
Select
or
Download
Code
In Section
Seekers of Perl Wisdom