http://qs321.pair.com?node_id=611676


in reply to Perl Hashes

You may use references (see perlref) for this:
my %hash = ( var => \$dw_VAR, str => \$dw_STR, ); print "str is ", ${$hash{str}}, "\n";