What is that strange noise? Why, its the sound of my brain scuttling away to hide behind the desk.
Time to take some IQ pills and get reading. Richard --- Bart Lateur <[EMAIL PROTECTED]> wrote: > On Thu, 6 Dec 2001 10:01:48 +0000 (GMT), Richard > Smith wrote: > > >Thank you for your advice on the script. I would be > >very interested to know how you would approach the > >problem. I am an illustrator first, and programmer > >comes a way down my list of abilities. =8O) > > Well, *I* would use a Schwartzian Transform. There's > a tutorial on > <http://www.5sigma.com/perl/schwtr.html>. > > @sorted = map { $_->[0] } > sort { $b->[2] <=> $a->[2] || $a->[1] cmp $b->[1] > } > map { [ $_, split ' ' ] } > @unsorted; > > -- > Bart. ________________________________________________________________ Nokia 5510 looks weird sounds great. Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! The competition ends 16 th of December 2001.