I probably should have clarified one thing. At this point, the work is done and I have no immediate need to do anything else with it. It is purely an exercise now to learn new and better ways of implementing the same thing.
Thanks all for your comments.
disciple
Comment on Re: Splitting Large File into many small ones.
In that case, about the comment I would make about your original is that you could have used $. instead of $i to do the counting. Whether that would be better in anyway is mute though.
Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail Hooray! Wanted!