Data::Dump for instance tries to use B::Deparse which isn't 100% correct (only the OP tree can be, think closures)
Choroba already explained that hashes have no order you can rely on.
The only unexpected thing here is that two examples produced different dump strategies... But both seem correct.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re: doubts about Data::Dumper output
by LanX
in thread doubts about Data::Dumper output
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |