Dan Sugalski writes:
: At 02:55 PM 5/19/2001 -0400, John Porter wrote:
: >Dan Sugalski wrote:
: > > So what happens when you assign an overloaded value to a tied variable, or
: > > vice versa? Which wins?
: >
: >Uh, the overloaded value gets evaluated to an normal value,
: >and the tied variable does what it does with that.
: >
: >Maybe.
:
: Yep. Maybe. Hence the question. :)
I would think it would depend on the constraints place on the value by
the tie implementation. An implementation that can handle references
could just store away the overloaded reference. An implementation that
forces string representation couldn't.
Larry