http://www.perlmonks.org?node_id=1018186


in reply to pushing multiple key-value pairs into an existing hash

If you want to add new key-value pairs one by one, you can use the scalar form:
$gene{$key} = $value;
The slice form can be used if you are inserting a hash into a hash, which is not the case here.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ