in reply to Creating dynamic hash names

This is a classic document on dynamic variables to explain that more detailled: