in reply to hash unorderly output
You don't say what order you want the data back in. If you want alphabetical order by key, that's easy:
foreach my $grp (sort keys %grp_advise) { ...
If you want them back in the order you added them, that's not possible with a perl hash. Or at least, it's substantially more difficult. ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hash unorderly output
by Nevtlathiel (Friar) on May 25, 2005 at 10:23 UTC | |
by jdporter (Paladin) on May 25, 2005 at 11:14 UTC | |
by Limbic~Region (Chancellor) on May 25, 2005 at 13:03 UTC |