Skip Menu |

This queue is for tickets about the Deep-Hash-Exists CPAN distribution.

Report information
The Basics
Id: 107022
Status: resolved
Priority: 0/
Queue: Deep-Hash-Exists

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.21



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
Subject: Re: [rt.cpan.org #107022] Resolved: Please consider using Scalar::Util::reftype instead of ref()
Date: Mon, 14 Sep 2015 10:44:05 -0400
To: bug-Deep-Hash-Exists [...] rt.cpan.org
From: Diab Jerius <djerius [...] cpan.org>
On Mon, Sep 14, 2015 at 8:02 AM, Erik Aronesty via RT <bug-Deep-Hash-Exists@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=107022 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.
Thanks! Diab