Skip Menu |

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

Report information
The Basics
Id: 114696
Status: open
Priority: 0/
Queue: Data-Dump

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

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



Subject: Implement dumps( ..., \&sort )
Some times when we dump we want data be dumped in some order. For example hash now dumped by sorted keys. but will be useful to have: dumps( { a => { name => 'x' }, b => { name => 'a' } }, sub{ $a->{ name } cmp $b->{ name } } );
It should be possible to extend the filter mechanism to say something about how hash keys are sorted.  We could make the "Filter return hash" grow are 'sort' option (see Data::Dump::Filtered).  Patches welcome!