Skip Menu |

This queue is for tickets about the Data-Dump CPAN distribution.

Report information
The Basics
Id: 33273
Status: rejected
Priority: 0/
Queue: Data-Dump

People
Owner: Nobody in particular
Requestors: AGRUNDMA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.08
Fixed in: (no value)



Subject: Don't sort hashes if they are tied
While trying to debug some code using Tie::IxHash I ran into the fact that Data::Dump auto-sorts hashes for you! This is not good when your hash is already sorted another way. :)
On Thu Feb 14 19:13:26 2008, AGRUNDMA wrote: Show quoted text
> While trying to debug some code using Tie::IxHash I ran into the fact > that Data::Dump auto-sorts hashes for you! This is not good when your > hash is already sorted another way. :)
Did anything go wrong besides the keys coming out in a different order than you expected?
On Thu Aug 21 08:36:38 2008, GAAS wrote: Show quoted text
> On Thu Feb 14 19:13:26 2008, AGRUNDMA wrote:
> > While trying to debug some code using Tie::IxHash I ran into the fact > > that Data::Dump auto-sorts hashes for you! This is not good when your > > hash is already sorted another way. :)
> > Did anything go wrong besides the keys coming out in a different order > than you expected?
Nope, it just confused me and made me think my tied hash wasn't working properly.
I think it's best to just leave it like it is. If you feel strongly about it please provide a patch (with testcase) and I'll consider it. For now I'll just close this bug.