From: "Peña, Botp" Date: 2004-04-24T11:40:17+09:00 Subject: Re: pushing hash Dave Thomas [mailto:dave@pragprog.com] humbly replied: > > Is there a reason why "<<" isn't allowed for hashes? > > Perhaps because hashes aren't ordered, and the common > semantics of "<<" > implies order. Yes, you're right sir Dave, but that is an old notion. I much prefer hash << "x"=>2 rather than hash["x"] = 2 The latter uses "[]" notation, wc is used for arrays, wc implies order, right? > Cheers > > Dave > kind regards -botp