Uri Guttman writes: > >>>>> "GNP" == Gregor N Purdy <[EMAIL PROTECTED]> writes: > > GNP> (But, the GRT doesn't apply to sorting general objects, and the > GNP> example has @unsorted containing objects on which we run > GNP> .foo('bar').compute.) > > there are no restrictions on what the GRT (or ST) can sort. the key is > key extraction and that can be from an object or anything. if the > compute method has to be called each time during the comparison, you are > in deep sort voodoo. so you can just call it during the extract phase > (the first executed map in the GRT or ST). if you have the object in $_, > you can call a method or do whatever you need to get the key.
Might you explain what the GRT is and what it is intended to do? I've been lost throughout most of your proposal. Thanks, Luke