in reply to Sort and Access Array of Hash
If what you need is the lowest price, you don't have to sort anything: as you are walking through the list, set a $lowest_price variable to the lowest price you find. Initially let that variable be undef which means that any price wins; thereafter, a price lower than this one wins. By the time you have finished loading the data structure you also know what is the lowest (and highest) price in it.