in reply to Re: Test if a subhash in a referenced hash exists
in thread Test if a subhash in a referenced hash exists

The empty string crept in since I had a legacy line in my code that set $coordinates = “” <grmpf>. I am trying to clean up a script that has grown over the past years. I had tried ref, but it had not worked, probably due to my notation confusion. Your %{$data->{foo}} notation is another variant to the ones I just posted.