Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Parse mailing addresses with a regexby CountZero (Bishop) |
on Jun 23, 2003 at 15:15 UTC ( [id://268205]=note: print w/replies, xml ) | Need Help?? |
Slightly off-topic: rather than reading the file as a whole into an array and then going through the array, it is far less memory and resources-consuming (not to say more elegant) to read the file line by line and immediately handle each record as soon as it is read in.
CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In Section
Seekers of Perl Wisdom
|
|