|The stupid question is the question not asked|
Re^6: hash slice ? No thanks, I'm about to return...by leriksen (Curate)
|on Feb 21, 2005 at 10:58 UTC||Need Help??|
I think its starting to become clear. The key phrase, as from your first reply post to this, Aristole, is the list of lvalues assigned to. I dont think I really understand what that actually means - so I'll try to explain what I think it means.
Originally I thought it mean the list of keys and values, but now I see it means just the values part, not the keys. In fact assigning to a key doesnt seem to make much sense - in a hash, a key has a related value, and you can assign to that value, but you can't assign to a key. Except maybe initially, which has the effect of creating the key. I dunno, maybe my language is too loose.
The values being assigned to are the values of the keys, thats all.
That said, Aristotle, I really dont understand what your trying to show me with your examples
Why would an assignment behave differently - I understand that the values returned by the hash slice are joined, but I dont understand how the join and the assignment to a slice are related.
The aliasing behaviour isn't noise, it is exactly the point. I completely dont understand what your trying to show me ?
Sorry if I'm being thick, I think I'm getting closer if that helps.
...it is better to be approximately right than precisely wrong. - Warren Buffet