On 2/25/07, Yuval Kogman <[EMAIL PROTECTED]> wrote:
Is there a function that is to this as overload::StrVal is to stringification?
No. blessed() doesn't lie to you and I don't change that. I didn't provide any ref-alike that provide the complete old behavior. If you read t/basic.t file, you'll see a few things marked as TODO. It isn't omniscient yet. Its a 0.01 release and probably deserves that.
The feature is übersweet, and Data::Lazy should make good use of it too. You++!
Data::Lazy uses this how....? Curiously, I would bet this would let ref( $obj ) return undef which normally ref() never does. There's also the names with \0 in them somewhere. Normally you can't ever bless into something with a \0 in it (its just a C string). You could... have objects that tell that they're something with a \0 in it. You could even return another object. Heh. I think I'm going to be telling Devel::Spy to go use this now too. That aims to be a transparent proxy. Josh