Thanks for the suggestions. Actually this isn't homework for a class. I have started to try to learn perl via a tutorial. These are some of the programs listed to try. They don't give any answers to them so I was looking for some examples from people who know what they are doing to get myself started.
I know this is two years after the fact. Just the same, I thought someone should set the record straight – if for no other reason, then because jeffa has linked to the OP has an example of homework in his oft cited How (Not) To Ask A Question tutorial.