You can create hashmap as
my %myhash=();

Populate as
$myhash{ 'key' } = 'value'; # hash

Get value
$value = $myhash{ 'key' };...