in reply to Re^2: 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?
I guess you are assuming that it is perfect. 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.
Of course, it is also overly complicated in many cases. For example, 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.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is there a way to find out what kind of ref an object is? (isa)
by adrianh (Chancellor) on Dec 08, 2005 at 10:36 UTC |