in reply to doubts about Data::Dumper output

Dumping code refs isn't trivial, that's why dummies are used.

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 ☆☆☆☆ :)