Re: [MacPerl] Sorting with RE's...

2001-12-06 Thread Richard Smith
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 + (GMT), Richard > Smith wrote: > > >Thank you for your advice on

Re: [MacPerl] Sorting with RE's...

2001-12-06 Thread Bart Lateur
On Thu, 6 Dec 2001 10:01:48 + (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 Schwartzia

Re: [MacPerl] Sorting with RE's...

2001-12-06 Thread Richard Smith
--- Ronald J Kimball <[EMAIL PROTECTED]> wrote: > That should get your code working. There are ways > to write the sort so > that it is more efficient, by avoiding all the > subroutine calls that your > code will make. If you'd like to know more just say > so! > > > Ronald > Ronald, Thank

Re: [MacPerl] Sorting with RE's...

2001-12-05 Thread Ronald J Kimball
On Wed, Dec 05, 2001 at 10:20:45PM +, Richard Smith wrote: > I have a list of Referrer names with a frequency > seperated by a space, as follows: > > "http://www.foo.com 140" > "http://www.bar.com 10" > "http://www.foo.com/faux 1087" > > I want to sort this list by the frequency, and by the

[MacPerl] Sorting with RE's...

2001-12-05 Thread Richard Smith
I have a list of Referrer names with a frequency seperated by a space, as follows: "http://www.foo.com 140" "http://www.bar.com 10" "http://www.foo.com/faux 1087" I want to sort this list by the frequency, and by the URL, so that I get: "http://www.foo.com/faux 1087" "http://www.foo.com 140" "h