Front page | perl.perl5.porters |
Postings from June 2001
Re: Data::Dumper sorting
From:
Gurusamy Sarathy
Date:
June 28, 2001 07:41
Subject:
Re: Data::Dumper sorting
Message ID:
200106281440.f5SEerY30638@smtp3.ActiveState.com
On Thu, 28 Jun 2001 09:12:15 CDT, andy@petdance.com wrote:
>
>What would it take to get Data::Dumper to sort the keys in hashes that it
>dumps?
>
>If I patched it to do so, would you roll it in?
>
>I CONSTANTLY am using Data::Dumper and it would make my life so much
>easier to have the hash keys sorted....
I seem to be getting this question at least once a month now, so here
goes my canned reply.
1. I don't maintain Data::Dumper independently anymore. Patches
should go to perl5-porters@perl.org.
2. If you make a patch for this:
* be sure to make the behavior optional (sorting forces all
the keys to be enumerated first, which increases the memory
requirement for large hashes)
* be sure to patch both the perl the XS code
* be sure to patch the documentation
* be sure to add tests
Thanks!
Sarathy
gsar@ActiveState.com
-
Re: Data::Dumper sorting
by Gurusamy Sarathy