On Wed, Apr 12, 2000 at 10:36:15AM -0700, Larry Rosler wrote: > > This solution will not work for more than 2 regexes. > > Ah. I didn't see that in the requirements. The original specific requirements inspired a solution to the general problem. > I assume that the argument list in your solution is a ref to the data > array followed by a list of qr's (for some measure of efficiency in your > prioritizing loop). Yes, as in the code Jeff provided at the URL he posted. > Except for the rather wussy use of sprintf with zero-padded fields, > instead of the macho packed subkeys, I think you have captured the > essence of it -- prioritizing key . stabilizing key . datum At least sorting zero-padded fields is locale independent. ;) Ronald ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe