![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: Help with problemby Athanasius (Archbishop) |
on May 23, 2012 at 07:29 UTC ( #971967=note: print w/replies, xml ) | Need Help?? |
Update: Added use autodie; to the code. Hi live4tech, Three points:
That said, I’m still not clear on how you could be getting files with, e.g., 299,701 rows. The suggestion of Anonymous Monk that it’s because you skip the empty lines doesn’t persuade, as there are (according to your specification) as many blank lines as there are data entry lines; and your logic ignores blank lines anyway. I offer the following in the hope that it may do what you need:
HTH, Athanasius <°(((>< contra mundum
In Section
Seekers of Perl Wisdom
|
|