I have two references and I would like to know if they both point to the same object. Should I use
or something else? Both == and eq currently work but wasn't sure if one was correct and the other simply happened to work with current versions of perl.