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
In reply to Re: hash 2 array ?
by broquaint
in thread hash 2 array ?
by michaelg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |