Yikes. Sorry about the ressends... my email client kept dying and I thought the mail was lost. Guess not. :-)
Trey In a message dated Mon, 4 Apr 2005, Trey Harris writes: > In a message dated Mon, 4 Apr 2005, Ingo Blechschmidt writes: > > What does pick return on hashes? Does it return a random value or a > > random pair? (I suppose returning a pair is more useful.) > > I'd assume in all cases that pick returns an *alias*, and in the case of > hashes, an alias to the pair: > > # Add entropy to your hash > for 1..$entropy_thresshold { > %hash.pick.value *= rand $scribble_factor; > } > > Trey > --