in reply to hash 2 array ?
And you'll see the contents of the hash have stayed nicely ordered, all thanks to Tie::IxHash.use Tie::IxHash; my %th; tie %th => "Tie::IxHash", qw/ foo bar baz quux /; print %th, $/; @th{qw/one three/} = qw/two four/; print %th, $/; __output__ foobarbazquux foobarbazquuxonetwothreefour
_________
broquaint
|
|---|