I did the guessing game as a perl script. I recently had to start learning perl for work, so I picked up a couple new things

The forum rules say I'm not allowed to attach things, so here is the url to my script.
This right here is the script in text format.
http://www.bolda.com/nadadogg.txt