I used to use this
http://musingmarc.blogspot.ca/2008/03/sometimes-you-make-hash-of-things.html