$res = {foo=>bar}; # a hash ref $res-> # de-reference and then... {foo}; # ...look up a key in the hash