in reply to Re^3: Turning a hash into a line of links
in thread Turning a hash into a line of links

The problem with that is you lose the ability to do look-ups so you have to iterate over the array to find the 'FMA' key/value pair. You could keep the hash but make it a HoH with the sort order held inside, like

my %sections = ( DMA = {attrib => q{dma}, sortOrder => 1}; ...

but that strikes me as more complicated when most keys don't need it, just those with an odd ordering requirement.

Cheers,

JohnGG