in reply to Re^4: Populate Hash
in thread Populate Hash

The reason is that you refer to %myHash before having declared it. You need a my in front of %myHash like so:

my %myHash;

The =() doesn't do anything and can be omitted.