From: Panda-X <exilepa...@gmail.com>
> 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
===== je...@krynicky.cz === 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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to