in reply to Re^2: How to differentiate hash reference and object reference?
in thread How to differentiate hash reference and object reference?
You can also fool ref() by blessing your objects into the "\0" package. In that case, you'd get a false value on something that is not only a ref but is even blessed.