in reply to Need crash course in PERL!

The good news is that the test program is not that advanced... so depending on how much time you have an how fast you learn, I recommend a couple of books 'Learning Perl' by Schwartz, et al... and 'Perl Cookbook' by Christiansen and Torkington as a reference to answer the how would I do this type of questions... Good luck...
Pancho