in reply to Re: CityCatin thread How to write a script that prints its own source code?
Your teacher may already know about PerlMonks, and a lot of these solutions are pretty well known around here.
Mmmm, maybe they are learning about PerlMonks :)