YAHC (Yet Another Hamlet Counter)

For each language I learn/relearn, I like to get a grip on the internet
basics, pattern matching and control features (loops, etc) using a
pretty simple exercize:

Go out to MIT's Shakespeare site, grab the full text version of Hamlet,
and count the number of times the word "Hamlet" comes up in any
context.  It should be 85.

I'm going back through Learning Perl, and when I hit the chapter on
hashes, I decided to finally wrap my head around them once and forall
using the HamCounter.

I also have HamCounters in Python and R, and will upload those at a
later time.