1. Its not a homework question
2. I DO NOT need the code, I just need to know if Perl has any other structures/functions I can use to make it more efficient, and I needed to know that BEFORE I started writing the code.
Anyway, I will just use whatever my limited knowledge of Perl allows and post if I have any problems.
Please know that I was stating the policy because I have to. If you read your question, it sounds like it could be homework. There were no accusations, just hints at possibilities. If it is not homework, that's fine, just say so.
I agree with Kevin that your thinking was along the correct lines though. :)
Regards,
Jeff