Blessing

kasei on 2005-08-02T19:34:59

I'm not sure I like the fact that this works:

bless\%); sub a { print pop } (\%))->a('hello');

The fact that the blessing sticks around after the object reference is gone just seems strange.


It's the referrent not the reference

runrig on 2005-08-02T19:47:42

Read the docs again, it's the thing referred to, not the reference that gets blessed.

Re:It's the referrent not the reference

kasei on 2005-08-05T22:43:00

This isn't an issue of not understanding what's going on. It's that I don't particularly like the semantics of what's going on here. I understand the design, and realize that there'd be even more troubles if it were implemented in another way, but this still doesn't sit well with me.