From: Panda-X <[email protected]> > I have a hash tree, which sub- and sub-sub-sub ( and whatever ) > items inside are all hashes. > > and the next step I dealing with this hash tree is to use > Data::Dumper to dump it out. > > What I hope that the Data::Dumper result can keep the order as > what I declared at very first. Is that anyway I can do this ?
No. Hashes do not, repeat do not, remember the order the keys were defined. You have to use Tie::IxHashm but you most probably do not want to. Why do you think you want to remember the order? Jenda ===== [email protected] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
