Thanks to all those who replied... I have certainly learnt a lot from the messages.
Cheers adam > At 04:12 PM +0100 8/5/03, Adam Witney wrote: >> And I would like to generate a list ordered by the \d\d\d\d bit in the >> middle. I have this from the perl cookbook >> >> my @keys = sort {criterion()} keys(%gene_pool); >> >> but I don't really know how to approach the criterion() function >> -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.