"be consistent" | |
PerlMonks |
Re: About text file parsingby stevieb (Canon) |
on Aug 29, 2018 at 14:36 UTC ( [id://1221306]=note: print w/replies, xml ) | Need Help?? |
Although I really like Discipulus's approach to parallel processing the file, I thought I'd throw out Tie::File as an option. I've used it a couple of times successfully years ago. It doesn't load the entire file at once; instead, it reads it in chunks and presents the file as an array. Instead of doing:
You'd do something like the following after opening the file with the distribution:
In Section
Seekers of Perl Wisdom
|
|