in reply to build an interpreter in perl

Just google for 99 bottles of beer or esoteric programming langauges to find a variety of suitable fantasia languages. Many come with a Perl interpreter (e.g. lolcode, piet or Ook!), so you can compare your code with the existing solutions (e.g. this one for Ook! Ook interpreter).

enjoy! Rata