in reply to Re: doubts about Data::Dumper output
in thread doubts about Data::Dumper output
dunno if i understand the Anonymous's answer...
Ok, elaboration, Data::Dumper::Dumpxs() does the actual Dumpering ... and it emits a warning and does a bad job of Dumping the code reference.
This is a genuine perlbug you found, you should report it -- as the link I linked earlier shows, bugs in Dumper can happen, if you report it, it will probably be fixed
Streamer does a good job of dumping the code reference
About the order, yeah, hashes are "unordered" what choroba/LanX said :) .... Data::Dumper does have a Sortkeys option .... as there is https://metacpan.org/pod/Data::Dump::Streamer#Controlling-Hash-Traversal-and-Display-Order
Yes, lets burn some wood :) its a renewable resource
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: doubts about Data::Dumper output
by choroba (Cardinal) on Oct 07, 2014 at 00:13 UTC | |
by Anonymous Monk on Oct 07, 2014 at 07:23 UTC | |
by LanX (Saint) on Oct 07, 2014 at 07:45 UTC | |
by Anonymous Monk on Oct 07, 2014 at 08:35 UTC | |
by LanX (Saint) on Oct 07, 2014 at 09:07 UTC | |
| |
|
Re^3: doubts about Data::Dumper output
by Discipulus (Canon) on Oct 07, 2014 at 07:15 UTC |