Subject: | Objects with overloaded stringification |
Hi,
If I put e.g. a DateTime object in a datastructure, it'll render as the
DateTime object's hash ref. But DateTime has stringification overloaded,
providing a human readable date.
Do you think it would make sense to check whether objects have
stringification overloaded, and display that as a scalar value instead
of recursing into the object?
Thanks,
/J