if i'm not mistaken (and i might be) i believe there was an article in the perl journal about managing quizzes a few years ago. you might go
here and "leaf" thgrough back issues. in any event, you'll find it an excellent resource on using perl to do real stuff.