|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: build array of geometry databy BrowserUk (Pope) |
| on Feb 10, 2003 at 17:17 UTC ( #234174=note: print w/ replies, xml ) | Need Help?? |
|
If your files get very large, then slurping them into memory to parse can be memory intensive. This solution processes the file line-by-line and uses a running buffer to parse it. Code
Output <
Examine what is said, not who speaks. The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||