> I think a stringified reference is worth seeing, moreso than a simple undef,
> for debugging purposes if nothing else.

Debugging is great, but I don't think this is the way to do it. The
reason is some objects might have a STRING method while others don't, so
you'll only get partial access to some of the objects' underlying
structures.

I think a separate call that dumped the info (basically what print
$object does now) is better. That way you're guaranteed to get it.

And a novice programmer isn't confused by seeing "HASH(0xe3902)" when
they expected to see some type of "real" data.

-Nate

Reply via email to