Subject: | Please consider using Scalar::Util::reftype instead of ref() |
Currently it's not possible to use hash_exists on a blessed hash.
hash_exists uses ref to determine if the scalar is a hashref, and it will return the name of the class if the hash is blessed.
Please consider using Scalar::Util::reftype instead of ref(); it will return the type of the underlying data structure, rather than the class name.
As an example of where this would be useful, I'm using Hash::AsObject to wrap a hash, but would still like to use hash_exists on it.
Thanks,
Diab