in reply to references troubles

When refering to elements of hash, don't use the % sigil. In other words say something like:
$href->{name} = $value;
When working with hashes use braces {}, not brackets [].

Finally, you can omit all the -> except the first one:

$href->{name}{subkey}
Phil