in reply to Re^3: Is there a way to find out what kind of ref an object is? (isa)
in thread Is there a way to find out what kind of ref an object is?

But it isn't. It prevents you from properly handling overloaded objects that know how to act like a hash ref even though they aren't.

I'd interpreted the OP's requirement as not wanting this behaviour. YMMV.

on the version of Perl I have most handy, it simply dies with Can't locate Scalar/Util.pm and overcoming that is rather hugely complicated, as it happens

Fair point.

  • Comment on Re^4: Is there a way to find out what kind of ref an object is? (isa)