Stevan Little writes: > One tests shows $pair.kv returning an array with two elements (the key > and value of the pair). (This is also how Pugs currently implements > this.) > > Another test shows $pair.kv returning an array with one element which > is an array-ref/list which itself has 2 elements (the key and value) in > it. > > I tend to think the former is correct, however a comment over the later > one indicated that it was stated to be this way on this list. I looked > though the list, but was unable to find the specific reference.
The former is certainly correct. When all else fails, consider a pair to be a one-element hash. Luke