Re: Smart Matching clarification

2006-11-18 Thread Jonathan Lang
Jonathan Lang wrote: Larry Wall wrote: > Jonathan Lang wrote: > : Looking through the table provided, I ran across the following: > : > :$_ $xType of Match ImpliedMatching Code > :== = == > :HashHash hash keys

Set-returning .keys (was Re: Smart Matching clarification)

2006-11-18 Thread Darren Duncan
At 3:24 AM -0800 11/18/06, Jonathan Lang wrote: Jonathan Lang wrote: Larry Wall wrote: > it seems to me that .keys.sort is > suboptimal if sort has to second-guess the ordering provided by the underlying hash. Not only is it suboptimal, it might not be possible. Sorting depends on cmp ret