in reply to How do I get directory structure into a hash?
Originally posted as a Categorized Answer.