Sorting and undefined values

Earle Martin perl at downlode.org
Wed Dec 13 11:27:15 GMT 2006


Hi Andy.

On 12/12/06, Andy Armstrong <andy at hexten.net> wrote:
> What has to happen in the case where x is defined for one side of the
> comparison but not the other? Do you want to compare x only if x is
> defined for both sides? And by defined do you actually mean exists?

Good questions all. This morning, after having slept on it, I wrote
some logic to produce a combination field based on x & y - call it mu
- first, which I can now simply sort on. My problem here was trying to
do too much in the sort.

Thanks for your help!

-- 
Earle Martin
            http://downlode.org/
http://purl.org/net/earlemartin/


More information about the london.pm mailing list