in reply to First foray into Perl
A more useful title for your post would help!
Do you have any code you have put together so far? Or perhaps even just pseudocode?