in reply to Dynamic population of a hash

Hashes contain key => value pairs, yet you only mentioned a single value ("a string of ..."). Could you please provide more information?