> Date: 11 Apr 2002 14:22:22 -0000 > From: Lars Henrik Mathiesen <[EMAIL PROTECTED]> > > > Date: Thu, 11 Apr 2002 16:10:27 +0200 > > From: Eugene van der Pijll <[EMAIL PROTECTED]> > > > No, values are modified, keys are not. But that's not so strange: hash > > values are scalars; hash keys are strings: > > > > [...] > > By the way, the thing I was referring to earlier that only 'works' on > 5.6.x was "map s///, sort %a" --- and that doesn't 'work' on 5.004, > even though other variants like "for (sort @x) { s/// }" seem to. I > don't have easy access myself to versions between 5.004 and 5.6, so I > don't know when it changed exactly --- but I have reason to think it > was recently.
I sent that too soon... I just realized that this is evidence that the snag I hit probably wasn't that sort had changed to let references through, but that the conversion of %x in list context had changed to intermix copies of keys with references to values. Back to perldelta, if anyone still cares. Lars Mathiesen (U of Copenhagen CS Dep) <[EMAIL PROTECTED]> (Humour NOT marked)